Code cleanup
This commit is contained in:
parent
2e4494a202
commit
4c37d686f8
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user