build-common

Shared build system code (usually as a git submodule)
Log | Files | Refs | README | LICENSE

commit d725a0cd1b4aa3ff54452a702b8c19db3f3c3393
parent 1915a74bbb4cd2ae9bc541a382dfebc37064a2fd
Author: Florian Dold <florian.dold@gmail.com>
Date:   Tue, 10 Dec 2019 20:39:47 +0100

also detect other Python versions ...

Diffstat:
Msh/lib.sh/existence_python.sh | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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"