File: nodebug.sh

package info (click to toggle)
linkchecker 10.5.0-1.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,112 kB
  • sloc: python: 13,131; makefile: 134; sh: 71; xml: 36; sql: 20; javascript: 19; php: 2
file content (8 lines) | stat: -rwxr-xr-x 186 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
#!/bin/sh
# deactivate all debug calls
set -e
set -u

d=$(dirname $0)
base=$(readlink -f $d/../linkcheck)
find "$base" -type f -print0 | xargs -0 sed -i 's/  log.debug(/  #log.debug(/g'