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:
flyingcat 2020-04-12 22:04:24 +08:00 committed by GitHub
parent c6bfd60ab1
commit 5ba24e758e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

2
configure vendored
View File

@ -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