Refactor check in debian bootstrap

This commit is contained in:
Travis Cross 2014-01-14 22:34:36 +00:00
parent 47006e90ea
commit 1b382ea0f2

3
debian/bootstrap.sh vendored
View File

@ -146,7 +146,7 @@ mod_filter_show () {
map_fs_modules () {
local filterfn="$1" percatfns="$2" permodfns="$3"
for x in $mod_dir/*; do
if test -d $x; then
test -d $x || continue
category=${x##*/} category_path=$x
for f in $percatfns; do $f; done
for y in $x/*; do
@ -159,7 +159,6 @@ map_fs_modules () {
unset module_name module_path module
done
unset category category_path
fi
done
}