From d13b10d943329ff08850c75a3c7e4675a9460a8d Mon Sep 17 00:00:00 2001 From: Vincent A Date: Sat, 26 Oct 2019 17:34:07 +0200 Subject: [PATCH] tools/common.sh: support python 3.7 and 3.8, no more 3.4 --- tools/common.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/common.sh b/tools/common.sh index 3ee33c2b0a..c2ce97cb45 100644 --- a/tools/common.sh +++ b/tools/common.sh @@ -11,9 +11,10 @@ if [ -z "${PYTHON2-}" ]; then fi if [ -z "${PYTHON3-}" ]; then - which python3.4 >/dev/null 2>&1 && PYTHON3=$(which python3.4) which python3.5 >/dev/null 2>&1 && PYTHON3=$(which python3.5) which python3.6 >/dev/null 2>&1 && PYTHON3=$(which python3.6) + which python3.7 >/dev/null 2>&1 && PYTHON3=$(which python3.7) + which python3.8 >/dev/null 2>&1 && PYTHON3=$(which python3.8) which python3 >/dev/null 2>&1 && PYTHON3=$(which python3) fi -- GitLab