mirror of
https://github.com/ansible/awx.git
synced 2026-03-17 17:07:33 -02: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
|
# convenience target to assert environment variables are defined
|
||||||
guard-%:
|
guard-%:
|
||||||
@if [ "${${*}}" == "" ]; then \
|
@if [ "$${$*}" = "" ]; then \
|
||||||
echo "The required environment variable '$*' is not set"; \
|
echo "The required environment variable '$*' is not set"; \
|
||||||
exit 1; \
|
exit 1; \
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user