Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
perfer python3 to compile
`which python` may direct to python2. make `which python3` ahead of `which python` may be better.
  • Loading branch information
knightXun committed Apr 12, 2020
1 parent c6bfd60 commit 5ba24e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure
Expand Up @@ -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
Expand Down

0 comments on commit 5ba24e7

Please sign in to comment.