Patch mkdep to make sure tested values are not mistaken

as test flags.
This commit is contained in:
Lionel Sambuc 2012-10-09 18:50:05 +02:00
parent de291cdb60
commit 265d9b456d

View file

@ -72,7 +72,7 @@ set_objlist()
# (don't trust the shell builtin getopts to be in a known state on error)
while [ $# -gt 0 ]; do
option="${1#-}"
[ "$option" = "$1" -o -z "$option" ] && break
[ "x$option" = "x$1" -o -z "$option" ] && break
while
optarg="${option#?}"
option="${option%$optarg}"