提交 1b382ea0 authored 作者: Travis Cross's avatar Travis Cross

Refactor check in debian bootstrap

上级 47006e90
...@@ -146,7 +146,7 @@ mod_filter_show () { ...@@ -146,7 +146,7 @@ mod_filter_show () {
map_fs_modules () { map_fs_modules () {
local filterfn="$1" percatfns="$2" permodfns="$3" local filterfn="$1" percatfns="$2" permodfns="$3"
for x in $mod_dir/*; do for x in $mod_dir/*; do
if test -d $x; then test -d $x || continue
category=${x##*/} category_path=$x category=${x##*/} category_path=$x
for f in $percatfns; do $f; done for f in $percatfns; do $f; done
for y in $x/*; do for y in $x/*; do
...@@ -159,7 +159,6 @@ map_fs_modules () { ...@@ -159,7 +159,6 @@ map_fs_modules () {
unset module_name module_path module unset module_name module_path module
done done
unset category category_path unset category category_path
fi
done done
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论