aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorng0 <ng0@n0.is>2019-10-18 15:36:15 +0000
committerng0 <ng0@n0.is>2019-10-18 15:36:15 +0000
commit7a088ba0ca7a5644c30d56085cbd93d0b14fa704 (patch)
tree044483fbc51e9e2205e4e4b870a2d3bef4f92ee0 /configure
parentd79c2777c75b9e5e1d566960e2ed98e1a0e41449 (diff)
We need at least python 3.7 for the build-system.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure15
1 files changed, 1 insertions, 14 deletions
diff --git a/configure b/configure
index 644d471de..7ad5a9139 100755
--- a/configure
+++ b/configure
@@ -43,18 +43,6 @@ existence()
# defines the executable to be like this.
if existence python3; then
python="python3"
-elif existence python3.1; then
- python="python3.1"
-elif existence python3.2; then
- python="python3.2"
-elif existence python3.3; then
- python="python3.3"
-elif existence python3.4; then
- python="python3.4"
-elif existence python3.5; then
- python="python3.5"
-elif existence python3.6; then
- python="python3.6"
elif existence python3.7; then
python="python3.7"
elif existence python3.8; then
@@ -72,7 +60,6 @@ fi
# or fail anyway once configure.py is invoked because we
# don't have python if we reach the point to fail.
PYTHON=$($python -c 'import sys; print(sys.executable)')
-#echo $PYTHON
# Call configure.py, assuming all went well.
@@ -80,4 +67,4 @@ PYTHON=$($python -c 'import sys; print(sys.executable)')
# If $1 is empty, the python script checks the
# environment for PREFIX. We might need more
# variables and switches, such as DESTDIR.
-exec $PYTHON ./configure.py $@
+exec "$PYTHON" ./configure.py $@