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

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