]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Make test-network.sh more robust against arguments containing spaces
authorteor (Tim Wilson-Brown) <teor2345@gmail.com>
Tue, 8 Sep 2015 12:27:12 +0000 (22:27 +1000)
committerteor (Tim Wilson-Brown) <teor2345@gmail.com>
Tue, 8 Sep 2015 12:27:12 +0000 (22:27 +1000)
src/test/test-network.sh

index b5d7f7c42deb39f304aae8c5ad57201344c43fd7..451a40afd0268470692d5849e1e52466ead664a9 100755 (executable)
@@ -3,9 +3,9 @@
 ECHO_N="/bin/echo -n"
 use_coverage_binary=false
 
-until [ -z $1 ]
+until [ -z "$1" ]
 do
-  case $1 in
+  case "$1" in
     --chutney-path)
       export CHUTNEY_PATH="$2"
       shift