We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a50154 commit 6889cafCopy full SHA for 6889caf
bin/compile
@@ -43,7 +43,7 @@ fi
43
44
# Prevent publishing if old environment variables set. This feature will be removed in the future
45
# and thus the "global names" used before will be for application use.
46
-if [ -z "$NGINX_VERSION" ] || [ -z "$PHP_VERSION" ] || [ -z "$WORDPRESS_VERSION" ] || [ -z "$S3_BUCKET" ] || [ -z "$WORDPRESS_DIR" ]; then
+if [ -n "$NGINX_VERSION" ] || [ -n "$PHP_VERSION" ] || [ -n "$WORDPRESS_VERSION" ] || [ -n "$S3_BUCKET" ] || [ -n "$WORDPRESS_DIR" ]; then
47
echo "Aborting. Env variables controlling buildpack should be prefixed with \"BUILDPACK_\"."
48
echo "Rename the variables and push again. For example:"
49
echo ""
0 commit comments