Ich habe hier mal einen Vorschlag, wie man das Makefile flexibler für die auf dem System vorhandene Python Version machen könnte:
Diff
diff --git a/Make.config b/Make.config
index 6371e4f..e1a76ae 100644
--- a/Make.config
+++ b/Make.config
@@ -25,8 +25,15 @@ INIT_SYSTEM = systemd
INIT_AFTER = mysql.service
# set the python intepreter
+PYTHON_VERSION := $(shell python3 --version 2>/dev/null)
-PYTHON ?= python
+ifdef PYTHON_VERSION
+ $(info found ${PYTHON_VERSION}, using python3)
+ PYTHON ?= python3
+else
+ $(info pyton3 not found, using python)
+ PYTHON ?= python
+endif
# ------------------
# internals
Alles anzeigen