Code cleanup

This commit is contained in:
Pierre Pronchery 2016-12-09 00:03:49 +01:00
parent 2e4494a202
commit 4c37d686f8

View File

@ -59,7 +59,7 @@ _shlint()
for subdir in $subdirs; do
[ -d "../$subdir" ] || continue
for filename in $($FIND "../$subdir" -name '*.sh' | $SORT); do
$DEBUG $SHLINT "$filename" 2>&1
_shlint_file "$filename"
if [ $? -eq 0 ]; then
echo "$filename:"
else
@ -71,6 +71,11 @@ _shlint()
return $ret
}
_shlint_file()
{
$DEBUG $SHLINT "$filename" 2>&1
}
#debug
_debug()