mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 18:09:57 -03:30
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.
This commit is contained in:
parent
e793a179fd
commit
cced99f75d
2
Makefile
2
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"; \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user