Skip to content

Commit b3218d0

Browse files
jhuttanajmtd
authored andcommitted
Use substring expansion to set the value for JBOSS_CONTAINER_UTIL_LOGGING_MODULE and JBOSS_CONTAINER_JAVA_RUN_MODULE
Signed-off-by: Jayashree Huttanagoudar <[email protected]>
1 parent e84cc6d commit b3218d0

File tree

1 file changed

+2
-2
lines changed
  • modules/run/artifacts/opt/jboss/container/java/run

1 file changed

+2
-2
lines changed

modules/run/artifacts/opt/jboss/container/java/run/run-java.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
set -eo pipefail
55

66
#These are defined explicitly here to avoid defining them in templates/jlink/Dockerfile
7-
export JBOSS_CONTAINER_UTIL_LOGGING_MODULE="/opt/jboss/container/util/logging"
8-
export JBOSS_CONTAINER_JAVA_RUN_MODULE="/opt/jboss/container/java/run"
7+
export JBOSS_CONTAINER_UTIL_LOGGING_MODULE="${JBOSS_CONTAINER_UTIL_LOGGING_MODULE-/opt/jboss/container/util/logging}"
8+
export JBOSS_CONTAINER_JAVA_RUN_MODULE="${JBOSS_CONTAINER_JAVA_RUN_MODULE-/opt/jboss/container/java/run}"
99

1010
#This is moved here after deleting run-env.sh
1111
# Default the application dir to the S2I deployment dir

0 commit comments

Comments
 (0)