mirror of https://github.com/zulip/zulip.git
py3: Rely on the shebang to invoke provision too.
We had been forcing provision to Python 3 in dev. Now that everything is Python 3 and the `tools/lib/provision.py` shebang reflects that, we can just invoke the script directly like everything else.
This commit is contained in:
parent
a099e698e2
commit
33430f83eb
|
@ -22,7 +22,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
|
||||||
python3 ./lib/provision.py "$@" 2>&1 | tee -a "$LOG_PATH"
|
./lib/provision.py "$@" 2>&1 | tee -a "$LOG_PATH"
|
||||||
failed=${PIPESTATUS[0]}
|
failed=${PIPESTATUS[0]}
|
||||||
|
|
||||||
if [ $failed = 1 ]; then
|
if [ $failed = 1 ]; then
|
||||||
|
|
Loading…
Reference in New Issue