mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2024-11-09 17:36:14 +03:00
Search for python newest to oldest (#8244)
See https://github.com/Chia-Network/chia-blockchain/issues/8135
This commit is contained in:
parent
461fe82587
commit
f18b217e5e
@ -82,7 +82,7 @@ fi
|
||||
find_python() {
|
||||
set +e
|
||||
unset BEST_VERSION
|
||||
for V in 37 3.7 38 3.8 39 3.9 3; do
|
||||
for V in 39 3.9 38 3.8 37 3.7 3; do
|
||||
if which python$V >/dev/null; then
|
||||
if [ "$BEST_VERSION" = "" ]; then
|
||||
BEST_VERSION=$V
|
||||
|
Loading…
Reference in New Issue
Block a user