Patch mkdep to make sure tested values are not mistaken
as test flags.
This commit is contained in:
parent
de291cdb60
commit
265d9b456d
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ set_objlist()
|
||||||
# (don't trust the shell builtin getopts to be in a known state on error)
|
# (don't trust the shell builtin getopts to be in a known state on error)
|
||||||
while [ $# -gt 0 ]; do
|
while [ $# -gt 0 ]; do
|
||||||
option="${1#-}"
|
option="${1#-}"
|
||||||
[ "$option" = "$1" -o -z "$option" ] && break
|
[ "x$option" = "x$1" -o -z "$option" ] && break
|
||||||
while
|
while
|
||||||
optarg="${option#?}"
|
optarg="${option#?}"
|
||||||
option="${option%$optarg}"
|
option="${option%$optarg}"
|
||||||
|
|
Loading…
Reference in a new issue