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

[tor-commits] [tor/master] Fix test-network.sh argument parsing



commit 1a50cb88e684638b8b1fd066ac1ffbc7e8898a5e
Author: Sebastian Hahn <sebastian@xxxxxxxxxxxxxx>
Date:   Sun Mar 22 09:41:05 2015 +0100

    Fix test-network.sh argument parsing
    
    The bash on one of my machines didn't understand the question mark
    correctly, it didn't end up accepting flavor. We can spell it out
    explicitly.
---
 src/test/test-network.sh |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/test/test-network.sh b/src/test/test-network.sh
index be57caf..ccfb5df 100755
--- a/src/test/test-network.sh
+++ b/src/test/test-network.sh
@@ -13,7 +13,7 @@ do
       export TOR_DIR="$2"
       shift
     ;;
-    --flavo?r|--network-flavo?r)
+    --flavor|--flavour|--network-flavor|--network-flavour)
       export NETWORK_FLAVOUR="$2"
       shift
     ;;



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