mirror of
https://github.com/ansible/awx.git
synced 2026-02-04 19:18:13 -03:30
Can't use bash syntax since make uses /bin/sh
This commit is contained in:
2
Makefile
2
Makefile
@@ -239,7 +239,7 @@ clean: clean-rpm clean-deb clean-ui clean-tar clean-packer clean-bundle
|
||||
|
||||
# convenience target to assert environment variables are defined
|
||||
guard-%:
|
||||
@if [ "${${*}}" == "" ]; then \
|
||||
@if [ "$${$*}" = "" ]; then \
|
||||
echo "The required environment variable '$*' is not set"; \
|
||||
exit 1; \
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user