Skip to content

Commit 13de33e

Browse files
authored
Merge pull request #98 from jasonmccallister/main
2 parents 731428e + 2eb238d commit 13de33e

File tree

3 files changed

+12
-3
lines changed

3 files changed

+12
-3
lines changed

layers/console/bootstrap.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@
33
# Fail on error
44
set -e
55

6-
export RUNTIME_CLASS="Bref\ConsoleRuntime\Main"
6+
# check if the RUNTIME_CLASS is already set
7+
if [ -z "${RUNTIME_CLASS}" ]; then
8+
export RUNTIME_CLASS="Bref\ConsoleRuntime\Main"
9+
fi
710

811
while true
912
do

layers/fpm/bootstrap.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@
33
# Fail on error
44
set -e
55

6-
export RUNTIME_CLASS="Bref\FpmRuntime\Main"
6+
# check if the RUNTIME_CLASS is already set
7+
if [ -z "${RUNTIME_CLASS}" ]; then
8+
export RUNTIME_CLASS="Bref\FpmRuntime\Main"
9+
fi
710

811
while true
912
do

layers/function/bootstrap.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@
33
# Fail on error
44
set -e
55

6-
export RUNTIME_CLASS="Bref\FunctionRuntime\Main"
6+
# check if the RUNTIME_CLASS is already set
7+
if [ -z "${RUNTIME_CLASS}" ]; then
8+
export RUNTIME_CLASS="Bref\FunctionRuntime\Main"
9+
fi
710

811
while true
912
do

0 commit comments

Comments
 (0)