X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=build%2Fshtool;h=663d9a9fd0c9f19d896e4a15177f4a017c0a19a2;hb=HEAD;hp=3329641427d7db584a5f55f1a6614f01bf1c0a83;hpb=b18d33c548612d25aa3259b137ee3a5200b90f69;p=openldap diff --git a/build/shtool b/build/shtool index 3329641427..663d9a9fd0 100755 --- a/build/shtool +++ b/build/shtool @@ -317,7 +317,7 @@ eval `echo h.$opt_spec |\ eval `echo h:help,$opt_alias |\ sed -e 's/-/_/g' -e 's/\([a-zA-Z0-9]\):\([^,]*\),*/opt_ALIAS_\2=\1;/g'` -# interate over argument line +# iterate over argument line opt_PREV='' while [ $# -gt 0 ]; do # special option stops processing @@ -383,11 +383,11 @@ while [ $# -gt 0 ]; do eval "opt_${opt_OPT}=yes" ;; ':' ) - # option with argument (multiple occurances override) + # option with argument (multiple occurrences override) eval "opt_${opt_OPT}=\"\$opt_ARG\"" ;; '+' ) - # option with argument (multiple occurances append) + # option with argument (multiple occurrences append) eval "opt_${opt_OPT}=\"\$opt_${opt_OPT}\${ASC_NL}\$opt_ARG\"" ;; * )