Skip to content
Permalink
Browse files
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 5ba24e758e1c4142fd15e0e1cb8111135b406984
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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

0 comments on commit 5ba24e7

Please sign in to comment.