Skip to content

Commit 5ba24e7

Browse files
authored
perfer python3 to compile
`which python` may direct to python2. make `which python3` ahead of `which python` may be better.
1 parent c6bfd60 commit 5ba24e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configure

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ set -e
44
set -o pipefail
55

66
if [ -z "$PYTHON_BIN_PATH" ]; then
7-
PYTHON_BIN_PATH=$(which python || which python3 || true)
7+
PYTHON_BIN_PATH=$(which python3 || which python || true)
88
fi
99

1010
# Set all env variables

0 commit comments

Comments
 (0)