[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/master] Make test-network.sh more robust against arguments containing spaces



commit 6b118e1e1e17888beb2d61525c326ddd6bfd7933
Author: teor (Tim Wilson-Brown) <teor2345@xxxxxxxxx>
Date:   Tue Sep 8 22:27:12 2015 +1000

    Make test-network.sh more robust against arguments containing spaces
---
 src/test/test-network.sh |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/test/test-network.sh b/src/test/test-network.sh
index b5d7f7c..451a40a 100755
--- a/src/test/test-network.sh
+++ b/src/test/test-network.sh
@@ -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



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits