summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xruntests.sh2
1 files changed, 1 insertions, 1 deletions
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=}