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
2
configure
vendored
2
configure
vendored
@ -4,7 +4,7 @@ set -e
|
||||
set -o pipefail
|
||||
|
||||
if [ -z "$PYTHON_BIN_PATH" ]; then
|
||||
PYTHON_BIN_PATH=$(which python || which python3 || true)
|
||||
PYTHON_BIN_PATH=$(which python3 || which python || true)
|
||||
fi
|
||||
|
||||
# Set all env variables
|
||||
|
Loading…
Reference in New Issue
Block a user