make, scripts: Now excplicitly calling python2 executable instead of python

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2018-01-02 13:12:00 +00:00
commit e68d4eb83b
11 changed files with 23 additions and 16 deletions

View file

@ -28,7 +28,7 @@ install-reg.done: install-dirs.done $(PY_INSTALLED_REG)
touch $@
%.pyc: %.py
python -c "import py_compile; py_compile.compile(\"$<\")"
python2 -c "import py_compile; py_compile.compile(\"$<\")"
$(PY_INSTALL_DIR)/%.py: %.py
$(INSTALL) -p -m $(PYMODMODE) -o $(PYMODOWNER) -g $(PYMODGROUP) $< $@