From: Zac Medico Date: Sun, 6 Nov 2011 05:43:34 +0000 (-0700) Subject: runtests.sh: use 0 to control arg parse loop X-Git-Tag: v2.2.0_alpha73~26 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=49a5cda809e55352d45395a6585d66c91f5e91ba;p=portage.git runtests.sh: use 0 to control arg parse loop --- diff --git a/runtests.sh b/runtests.sh index b7313b79b..30ddeeffa 100755 --- a/runtests.sh +++ b/runtests.sh @@ -29,7 +29,7 @@ trap interrupted SIGINT unused_args=() -while [[ -n $1 ]] ; do +while [ $# -gt 0 ] ; do case "$1" in --python-versions=*) PYTHON_VERSIONS=${1#--python-versions=}