No need to redirect the standard output from "sh -n"

This commit is contained in:
Pierre Pronchery 2014-08-25 19:40:10 +02:00
parent 65bbbf366f
commit 8fd1b92a2c

View File

@ -73,6 +73,6 @@ target="$1"
ret=0
> "$target"
for i in $($FIND "../doc" "../src" "../tests" "../tools" -name '*.sh'); do
$DEBUG $SHLINT "$i" > "$DEVNULL" 2>> "$target" || ret=2
$DEBUG $SHLINT "$i" 2>> "$target" || ret=2
done
exit $ret