]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Fix test-network.sh argument parsing
authorSebastian Hahn <sebastian@torproject.org>
Sun, 22 Mar 2015 08:41:05 +0000 (09:41 +0100)
committerSebastian Hahn <sebastian@torproject.org>
Sun, 22 Mar 2015 08:43:50 +0000 (09:43 +0100)
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

index be57cafb7f3fa16c53d55fc2a521334d159a775e..ccfb5df4245ddb581b925e0b695a005e5ca55cc2 100755 (executable)
@@ -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
     ;;