Try python2 after detect python
This commit is contained in:
parent
3e42060ff1
commit
68e413e5e2
|
@ -24,8 +24,9 @@ source "$BASE_DIR/common/host.sh"
|
||||||
|
|
||||||
PYTHON="python"
|
PYTHON="python"
|
||||||
if [ "$HOST_OS" = "Win" ]; then
|
if [ "$HOST_OS" = "Win" ]; then
|
||||||
# default python on MSYS
|
if ! _detect_cmd $PYTHON; then
|
||||||
PYTHON="python2"
|
PYTHON="python2" # try python2 on MSYS
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
_detect $PYTHON 1
|
_detect $PYTHON 1
|
||||||
|
|
Loading…
Reference in New Issue
Block a user