summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sh/lib.sh/existence_python.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/sh/lib.sh/existence_python.sh b/sh/lib.sh/existence_python.sh
index f32975a..5fd9b03 100644
--- a/sh/lib.sh/existence_python.sh
+++ b/sh/lib.sh/existence_python.sh
@@ -36,7 +36,7 @@ existence_python()
# executable name because there is a PEP which
# defines the executable to be like this.
if existence python3; then
- if test ! -z "`python3 --version | awk '$2 ~ /3.7/ { print }'`"; then
+ if test ! -z "`python3 --version | awk '$2 ~ /^3\./ { print }'`"; then
python="python3"
else
echo "*** At least python 3.7 is required for the buildsystem"