Skip to content

Commit c17a77f

Browse files
committed
better conversion instructions, add missing $
1 parent a1fb2ec commit c17a77f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

bin/compile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,35 +50,35 @@ if [ -n "$NGINX_VERSION" ] || [ -n "$PHP_VERSION" ] || [ -n "$WORDPRESS_VERSION"
5050
echo "Rename/remove the variables and then push again:"
5151
echo ""
5252
if [ -n "$NGINX_VERSION" ]; then
53-
if [-z "BUILDPACK_NGINX_VERSION" ]; then
53+
if [-z "$BUILDPACK_NGINX_VERSION" ]; then
5454
echo " heroku config:set BUILDPACK_NGINX_VERSION=$NGINX_VERSION"
5555
fi
5656
echo " heroku config:unset NGINX_VERSION"
5757
fi
5858

5959
if [ -n "$PHP_VERSION" ]; then
60-
if [-z "BUILDPACK_PHP_VERSION" ]; then
60+
if [-z "$BUILDPACK_PHP_VERSION" ]; then
6161
echo " heroku config:set BUILDPACK_PHP_VERSION=$PHP_VERSION"
6262
fi
6363
echo " heroku config:unset PHP_VERSION"
6464
fi
6565

6666
if [ -n "$WORDPRESS_VERSION" ]; then
67-
if [-z "BUILDPACK_WORDPRESS_VERSION" ]; then
67+
if [-z "$BUILDPACK_WORDPRESS_VERSION" ]; then
6868
echo " heroku config:set BUILDPACK_WORDPRESS_VERSION=$WORDPRESS_VERSION"
6969
fi
7070
echo " heroku config:unset WORDPRESS_VERSION"
7171
fi
7272

7373
if [ -n "$S3_BUCKET" ]; then
74-
if [-z "BUILDPACK_S3_BUCKET" ]; then
74+
if [-z "$BUILDPACK_S3_BUCKET" ]; then
7575
echo " heroku config:set BUILDPACK_S3_BUCKET=$S3_BUCKET"
7676
fi
7777
echo " heroku config:unset S3_BUCKET"
7878
fi
7979

80-
if [ -n "WORDPRESS_DIR" ]; then
81-
if [-z "BUILDPACK_WORDPRESS_DIR" ]; then
80+
if [ -n "$WORDPRESS_DIR" ]; then
81+
if [-z "$BUILDPACK_WORDPRESS_DIR" ]; then
8282
echo " heroku config:set BUILDPACK_WORDPRESS_DIR=$WORDPRESS_DIR"
8383
fi
8484
echo " heroku config:unset WORDPRESS_DIR"

0 commit comments

Comments
 (0)