diff --git a/src/mxmake/tests/test_templates.py b/src/mxmake/tests/test_templates.py index e4f7ca2..8534010 100644 --- a/src/mxmake/tests/test_templates.py +++ b/src/mxmake/tests/test_templates.py @@ -684,7 +684,7 @@ def test_Makefile(self, tempdir): # Determine the executable path ifeq ("$(VENV_ENABLED)", "true") - export PATH:=$(abspath $(VENV_FOLDER))/bin:$(PATH) + export PATH:="$(abspath $(VENV_FOLDER))/bin":$(PATH) export VIRTUAL_ENV=$(abspath $(VENV_FOLDER)) MXENV_PYTHON=python else diff --git a/src/mxmake/topics/core/mxenv.mk b/src/mxmake/topics/core/mxenv.mk index 63a2583..d6979ca 100644 --- a/src/mxmake/topics/core/mxenv.mk +++ b/src/mxmake/topics/core/mxenv.mk @@ -98,7 +98,7 @@ endif # Determine the executable path ifeq ("$(VENV_ENABLED)", "true") -export PATH:=$(abspath $(VENV_FOLDER))/bin:$(PATH) +export PATH:="$(abspath $(VENV_FOLDER))/bin":$(PATH) export VIRTUAL_ENV=$(abspath $(VENV_FOLDER)) MXENV_PYTHON=python else