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:
Greg Price 2017-08-09 14:38:55 -07:00 committed by Tim Abbott
parent a099e698e2
commit 33430f83eb
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,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
python3 ./lib/provision.py "$@" 2>&1 | tee -a "$LOG_PATH"
./lib/provision.py "$@" 2>&1 | tee -a "$LOG_PATH"
failed=${PIPESTATUS[0]}
if [ $failed = 1 ]; then