Skip to content

Commit 686192e

Browse files
committed
Correct SITE_URI -> DRUPAL_SITE_URI
1 parent 681a06c commit 686192e

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed
Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
#!/bin/sh
22
set -eu
33

4-
# If SITE_URI exists and APP_HOSTNAME is not already set,
5-
# map SITE_URI -> APP_HOSTNAME.
6-
if [ -n "${SITE_URI:-}" ] && [ -z "${APP_HOSTNAME:-}" ]; then
7-
export APP_HOSTNAME="$SITE_URI"
4+
# If DRUPAL_SITE_URI exists and APP_HOSTNAME is not already set,
5+
# map DRUPAL_SITE_URI -> APP_HOSTNAME.
6+
if [ -n "${DRUPAL_SITE_URI:-}" ] && [ -z "${APP_HOSTNAME:-}" ]; then
7+
export APP_HOSTNAME="$DRUPAL_SITE_URI"
88
fi
9-

0 commit comments

Comments
 (0)