linkchecker/scripts/nodebug.sh
Bastian Kleineidam c10b457d21 Only linkcheck dir
2014-03-27 20:27:30 +01:00

8 lines
186 B
Bash
Executable file

#!/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'