Skip to content

Commit e3b4612

Browse files
committed
Use real code
1 parent 4a2f533 commit e3b4612

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

runtime/layers/function/bootstrap

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,12 @@
33
# Fail on error
44
set -e
55

6-
# if USE_RUNTIME == true
7-
BOOTSTRAP = (${_HANDLER//:/ })[0]
8-
# else
9-
BOOTSTRAP = "/opt/bref/bootstrap.php"
10-
# fi
6+
# if APP_RUNTIME does not exist
7+
if [[ -z "${APP_RUNTIME}" ]]; then
8+
BOOTSTRAP="/opt/bref/bootstrap.php"
9+
else
10+
BOOTSTRAP=(${_HANDLER//:/ })
11+
fi
1112

1213
while true
1314
do

0 commit comments

Comments
 (0)