perfer python3 to compile
`which python` may direct to python2. make `which python3` ahead of `which python` may be better.
This commit is contained in:
parent
c6bfd60ab1
commit
5ba24e758e
|
@ -4,7 +4,7 @@ set -e
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
|
|
||||||
if [ -z "$PYTHON_BIN_PATH" ]; then
|
if [ -z "$PYTHON_BIN_PATH" ]; then
|
||||||
PYTHON_BIN_PATH=$(which python || which python3 || true)
|
PYTHON_BIN_PATH=$(which python3 || which python || true)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Set all env variables
|
# Set all env variables
|
||||||
|
|
Loading…
Reference in New Issue