provision: Fix some shell hygiene.

An array expansion should nearly always be double-quoted, like `"$@"`.
See http://mywiki.wooledge.org/Quotes for some discussion.
This commit is contained in:
Greg Price 2017-08-03 14:31:01 -07:00 committed by Tim Abbott
parent 2b45c17dbc
commit a32a3cfe23
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ echo "PROVISIONING STARTING." >> $LOG_PATH
# PYTHONUNBUFFERED is important to ensure that tracebacks don't get # PYTHONUNBUFFERED is important to ensure that tracebacks don't get
# lost far above where they should be in the output. # lost far above where they should be in the output.
export PYTHONUNBUFFERED=1 export PYTHONUNBUFFERED=1
"$PYTHON" "$PROVISION_PATH" $@ 2>&1 | tee -a "$LOG_PATH" "$PYTHON" "$PROVISION_PATH" "$@" 2>&1 | tee -a "$LOG_PATH"
failed=${PIPESTATUS[0]} failed=${PIPESTATUS[0]}
if [ $failed = 1 ]; then if [ $failed = 1 ]; then