mirror of
https://github.com/reactos/wine.git
synced 2025-01-19 10:13:01 +00:00
runtest: Fixed regression that prevented using just the -h option.
This commit is contained in:
parent
17bf6ef8fc
commit
a9b2ee2afb
@ -48,7 +48,7 @@ platform=$WINETEST_PLATFORM
|
||||
WINETEST_DEBUG=${WINETEST_DEBUG:-1}
|
||||
|
||||
# parse command-line options
|
||||
while [ "$#" -gt 1 ]; do
|
||||
while [ "$#" -gt 0 ]; do
|
||||
case "$1" in
|
||||
-h)
|
||||
usage
|
||||
@ -76,7 +76,7 @@ while [ "$#" -gt 1 ]; do
|
||||
shift; topobjdir="$1"
|
||||
if [ ! -d "$topobjdir" ]; then usage; fi
|
||||
;;
|
||||
--)
|
||||
*)
|
||||
break
|
||||
;;
|
||||
esac
|
||||
|
Loading…
x
Reference in New Issue
Block a user