aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.mk b/config.mk
index f3bd294..fd75560 100644
--- a/config.mk
+++ b/config.mk
@@ -1,7 +1,7 @@
PREFIX = /usr
PYTHON_MAJOR = $$(python --version 2>&1 | cut -d ' ' -f 2 | cut -d . -f 1)
-PYTHON_MINOR = $$(python$(PYTHON_MAJOR) --version 2>&1)
+PYTHON_MINOR = $$(python$(PYTHON_MAJOR) --version 2>&1 | cut -d . -f 2)
PYTHON_VER = $(PYTHON_MAJOR)$(PYTHON_MINOR)
PYTHON_VERSION = $(PYTHON_MAJOR).$(PYTHON_MINOR)