Can't use bash syntax since make uses /bin/sh

This commit is contained in:
Graham Mainwaring 2016-11-02 13:46:49 -04:00
parent 23bf9cd2be
commit b05cd9e5c6

View File

@ -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