No need to redirect the standard output from "sh -n"
This commit is contained in:
parent
65bbbf366f
commit
8fd1b92a2c
@ -73,6 +73,6 @@ target="$1"
|
|||||||
ret=0
|
ret=0
|
||||||
> "$target"
|
> "$target"
|
||||||
for i in $($FIND "../doc" "../src" "../tests" "../tools" -name '*.sh'); do
|
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
|
done
|
||||||
exit $ret
|
exit $ret
|
||||||
|
Loading…
Reference in New Issue
Block a user