python2: fix typo in HostPython function 2118/head
authorAlexandru Ardelean <ardeleanalex@gmail.com>
Sun, 13 Dec 2015 09:40:11 +0000 (11:40 +0200)
committerAlexandru Ardelean <ardeleanalex@gmail.com>
Sun, 13 Dec 2015 12:56:45 +0000 (14:56 +0200)
I call this the curse of the End-Of-The-Year for me.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
lang/python/files/python-host.mk

index a40c2a3a2806827e58cb4b84c7b4ec4019de68b1..17038d14d6065cc0bc26ccab6759f85983009645 100644 (file)
@@ -12,11 +12,11 @@ HOST_PYTHON_PKG_DIR:=/usr/lib/python$(PYTHON_VERSION)/site-packages
 HOST_PYTHONPATH:=$(HOST_PYTHON_LIB_DIR):$(STAGING_DIR_HOST)/$(HOST_PYTHON_PKG_DIR)
 define HostPython
        if [ "$(strip $(3))" == "HOST" ]; then \
-               export PYTHONPATH:=$(HOST_PYTHONPATH); \
+               export PYTHONPATH="$(HOST_PYTHONPATH)"; \
                export _python_sysroot="$(STAGING_DIR_HOST)/usr"; \
        else \
-               exort PYTHONPATH:=$(PYTHONPATH); \
-               export _python_sysroot:=$(STAGING_DIR)/usr; \
+               export PYTHONPATH="$(PYTHONPATH)"; \
+               export _python_sysroot="$(STAGING_DIR)/usr"; \
        fi; \
        export PYTHONOPTIMIZE=""; \
        export PYTHONDONTWRITEBYTECODE=1; \