Skip to content

Commit e46a0e6

Browse files
committed
Explicitly exports the variables
1 parent 4ae4245 commit e46a0e6

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

nginx/usr/local/share/env/20-heroku

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
# If running inside Heroku, exposed port is in `$PORT`
44
IN_HEROKU="$(convert_to_boolean_string "${IN_HEROKU:-false}")"
55
if [ "true" = "$IN_HEROKU" ]; then
6-
WEB_HTTPS="false"
7-
WEB_HTTP_PORT=$PORT
6+
export WEB_HTTPS="false"
7+
export WEB_HTTP_PORT=$PORT
88

99
export NON_PRIVILEGED_USER="true"
1010
fi

php/shared/usr/local/share/env/20-heroku

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
# If running inside Heroku, exposed port is in `$PORT`
44
IN_HEROKU="$(convert_to_boolean_string "${IN_HEROKU:-false}")"
55
if [ "true" = "$IN_HEROKU" ]; then
6-
WEB_HTTPS="false"
7-
WEB_HTTP_PORT=$PORT
6+
export WEB_HTTPS="false"
7+
export WEB_HTTP_PORT=$PORT
88

99
export NON_PRIVILEGED_USER="true"
1010
fi

0 commit comments

Comments
 (0)