diff --git a/Makefile b/Makefile index 64b597946d..a6f593e940 100644 --- a/Makefile +++ b/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