perfer python3 to compile

`which python` may direct to python2. make `which python3` ahead of `which python` may be better.
snyk-fix-f4c840df4db9b84b92bab0ff21780e61
flyingcat 2 years ago committed by GitHub
parent c6bfd60ab1
commit 5ba24e758e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      configure

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…
Cancel
Save