mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-11-01 18:30:55 +01:00
zsh-workers/9701
This commit is contained in:
parent
6751b5398a
commit
33457202ce
5 changed files with 37 additions and 3 deletions
|
|
@ -8,6 +8,8 @@
|
|||
echo "# module index generated by mkmodindex.sh"
|
||||
echo
|
||||
|
||||
omit_modules="`echo $OMIT_MODULES | sed 's/,/ /'`"
|
||||
|
||||
module_list=' '
|
||||
while test $# -ne 0; do
|
||||
dir=$1
|
||||
|
|
@ -27,6 +29,11 @@ while test $# -ne 0; do
|
|||
echo >&2 " (ignoring duplicate)"
|
||||
continue
|
||||
;; esac
|
||||
case " $omit_modules " in *" $name "*)
|
||||
echo >&2 "Module \`$name' found in \$OMIT_MODULES"
|
||||
echo >&2 " (omitting it)"
|
||||
continue
|
||||
;; esac
|
||||
module_list="$module_list$name "
|
||||
echo "modfile_$q_name=$modfile"
|
||||
eval "modfile_$q_name=\$modfile"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue