Skip to content
This repository was archived by the owner on Jan 25, 2019. It is now read-only.

Commit 49e53b6

Browse files
committed
export cmd + opts to child process
1 parent 7ff030c commit 49e53b6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/head.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ if [[ -n "${BOOT_JVM_OPTIONS-}" ]]; then
3535
options=($BOOT_JVM_OPTIONS)
3636
fi
3737

38+
# Setting env vars for java process so this information can be retrieved easily
39+
export BOOT_JAVA_COMAND="$java_command"
40+
export BOOT_JVM_OPTIONS="$options"
41+
3842
self="${BASH_SOURCE[0]}"
3943
selfdir="$(cd "$(dirname "${self}")" ; pwd)"
4044
selfpath="$selfdir/$(basename "$self")"

0 commit comments

Comments
 (0)