Sfoglia il codice sorgente

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.
Sebastian Hahn 10 anni fa
parent
commit
1a50cb88e6
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/test/test-network.sh

+ 1 - 1
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
     ;;