From a32a3cfe23cd102d8881973bdce6d1d195514fea Mon Sep 17 00:00:00 2001 From: Greg Price Date: Thu, 3 Aug 2017 14:31:01 -0700 Subject: [PATCH] provision: Fix some shell hygiene. An array expansion should nearly always be double-quoted, like `"$@"`. See http://mywiki.wooledge.org/Quotes for some discussion. --- tools/provision | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/provision b/tools/provision index 0a79d0c439..babfa5bfbb 100755 --- a/tools/provision +++ b/tools/provision @@ -29,7 +29,7 @@ echo "PROVISIONING STARTING." >> $LOG_PATH # PYTHONUNBUFFERED is important to ensure that tracebacks don't get # lost far above where they should be in the output. export PYTHONUNBUFFERED=1 -"$PYTHON" "$PROVISION_PATH" $@ 2>&1 | tee -a "$LOG_PATH" +"$PYTHON" "$PROVISION_PATH" "$@" 2>&1 | tee -a "$LOG_PATH" failed=${PIPESTATUS[0]} if [ $failed = 1 ]; then