mirror of https://github.com/zulip/zulip.git
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:
parent
2b45c17dbc
commit
a32a3cfe23
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue