From cced99f75d4a013ce1b9e7b06ee25c3a8a5ae5d4 Mon Sep 17 00:00:00 2001 From: James Laska Date: Tue, 2 Feb 2016 12:45:08 -0500 Subject: [PATCH] Resolve bug when building with /bin/sh on Ubuntu Ubuntu uses /bin/sh by default. This change properly compares strings in a POSIX compliant manner. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 77fb92f6e4..40eebbe644 100644 --- a/Makefile +++ b/Makefile @@ -235,7 +235,7 @@ requirements requirements_dev requirements_jenkins: %: real-% # * --user (in conjunction with PYTHONUSERBASE="awx" may be a better option # * --target implies --ignore-installed real-requirements: - @if [ "$(PYTHON_VERSION)" == "2.6" ]; then \ + @if [ "$(PYTHON_VERSION)" = "2.6" ]; then \ pip install -r requirements/requirements_python26.txt --target awx/lib/site-packages/ --install-option="--install-platlib=\$$base/lib/python"; \ else \ pip install -r requirements/requirements.txt --target awx/lib/site-packages/ --install-option="--install-platlib=\$$base/lib/python"; \