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

[tor-commits] [chutney/master] use quotes to fix a shellcheck warning.



commit e5834f2ee274686bfbb54cee76cc340a262b1064
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date:   Wed Jun 24 12:00:07 2020 -0400

    use quotes to fix a shellcheck warning.
---
 tools/bootstrap-network.sh | 14 +++++++-------
 tools/test-network.sh      | 14 +++++++-------
 tools/warnings.sh          | 14 +++++++-------
 3 files changed, 21 insertions(+), 21 deletions(-)

diff --git a/tools/bootstrap-network.sh b/tools/bootstrap-network.sh
index 005e0b4..a7a5dbe 100755
--- a/tools/bootstrap-network.sh
+++ b/tools/bootstrap-network.sh
@@ -16,13 +16,13 @@ set -o errexit
 set -o nounset
 
 # Set some default values if the variables are not already set
-: ${CHUTNEY_WARNINGS_ONLY:=false}
-: ${CHUTNEY_WARNINGS_SKIP:=false}
-: ${CHUTNEY_DIAGNOSTICS_ONLY:=false}
-: ${NETWORK_DRY_RUN:=false}
-: ${USE_COVERAGE_BINARY:=false}
-: ${CHUTNEY_DIAGNOSTICS:=false}
-: ${CHUTNEY_DATA_DIR:=}
+: "${CHUTNEY_WARNINGS_ONLY:=false}"
+: "${CHUTNEY_WARNINGS_SKIP:=false}"
+: "${CHUTNEY_DIAGNOSTICS_ONLY:=false}"
+: "${NETWORK_DRY_RUN:=false}"
+: "${USE_COVERAGE_BINARY:=false}"
+: "${CHUTNEY_DIAGNOSTICS:=false}"
+: "${CHUTNEY_DATA_DIR:=}"
 
 
 # Get a working chutney path
diff --git a/tools/test-network.sh b/tools/test-network.sh
index 633798b..12b908c 100755
--- a/tools/test-network.sh
+++ b/tools/test-network.sh
@@ -30,13 +30,13 @@ export CHUTNEY_DNS_CONF=${CHUTNEY_DNS_CONF:-/dev/null}
 #export CHUTNEY_TOR_SANDBOX=1
 
 # Set some default values if the variables are not already set
-: ${CHUTNEY_WARNINGS_ONLY:=false}
-: ${CHUTNEY_WARNINGS_SKIP:=false}
-: ${CHUTNEY_DIAGNOSTICS_ONLY:=false}
-: ${NETWORK_DRY_RUN:=false}
-: ${USE_COVERAGE_BINARY:=false}
-: ${CHUTNEY_DIAGNOSTICS:=false}
-: ${CHUTNEY_DATA_DIR:=}
+: "${CHUTNEY_WARNINGS_ONLY:=false}"
+: "${CHUTNEY_WARNINGS_SKIP:=false}"
+: "${CHUTNEY_DIAGNOSTICS_ONLY:=false}"
+: "${NETWORK_DRY_RUN:=false}"
+: "${USE_COVERAGE_BINARY:=false}"
+: "${CHUTNEY_DIAGNOSTICS:=false}"
+: "${CHUTNEY_DATA_DIR:=}"
 
 # what we say when we fail
 UPDATE_YOUR_CHUTNEY="Please update your chutney using 'git pull'."
diff --git a/tools/warnings.sh b/tools/warnings.sh
index 7793b28..1dd2d1c 100755
--- a/tools/warnings.sh
+++ b/tools/warnings.sh
@@ -29,13 +29,13 @@ set -o errexit
 set -o nounset
 
 # Set some default values if the variables are not already set
-: ${CHUTNEY_WARNINGS_ONLY:=false}
-: ${CHUTNEY_WARNINGS_SKIP:=false}
-: ${CHUTNEY_DIAGNOSTICS_ONLY:=false}
-: ${NETWORK_DRY_RUN:=false}
-: ${USE_COVERAGE_BINARY:=false}
-: ${CHUTNEY_DIAGNOSTICS:=false}
-: ${CHUTNEY_DATA_DIR:=}
+: "${CHUTNEY_WARNINGS_ONLY:=false}"
+: "${CHUTNEY_WARNINGS_SKIP:=false}"
+: "${CHUTNEY_DIAGNOSTICS_ONLY:=false}"
+: "${NETWORK_DRY_RUN:=false}"
+: "${USE_COVERAGE_BINARY:=false}"
+: "${CHUTNEY_DIAGNOSTICS:=false}"
+: "${CHUTNEY_DATA_DIR:=}"
 
 if [ "$CHUTNEY_WARNINGS_SKIP" = true ]; then
     exit 0



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