Fixed bug in command line argument parsing.

This commit is contained in:
Michael Hoffmann 2006-03-09 09:47:13 +00:00
parent c04f69ed64
commit b29aef2453
1 changed files with 4 additions and 6 deletions

View File

@ -4945,10 +4945,9 @@ if [ -z "${_WHAT_TO_DO}" ]; then
MATCH=y MATCH=y
;; ;;
esac esac
if [ -n "${MATCH}" ]; then break; fi
done done
if [ -n "${MATCH}" ]; then if [ -n "${MATCH}" ]; then shift; continue; fi
shift; continue
fi
for i in ${SUPPORT_PKGS}; do for i in ${SUPPORT_PKGS}; do
case ${_arg} in case ${_arg} in
-WITH-${i}*) -WITH-${i}*)
@ -4957,10 +4956,9 @@ if [ -z "${_WHAT_TO_DO}" ]; then
MATCH=y MATCH=y
;; ;;
esac esac
if [ -n "${MATCH}" ]; then break; fi
done done
if [ -n "${MATCH}" ]; then if [ -n "${MATCH}" ]; then shift; continue; fi
shift; continue
fi
case ${_arg} in case ${_arg} in
-QT_DIR*) -QT_DIR*)
warn_deprecated ${1} warn_deprecated ${1}