Skip to content

Commit e1c83e4

Browse files
committed
fix read variables with spaces from l4j.ini
1 parent 48d648c commit e1c83e4

File tree

5 files changed

+2
-2
lines changed

5 files changed

+2
-2
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ nexusStaging {
196196
}
197197

198198
task updateUniversalJavaApplicationStub(type : Download) {
199-
def version = '20230601.230608'
199+
def version = '20230601.235708'
200200
group 'Update assets'
201201
description 'Downloads compiled and scripted versions of universalJavaApplicationStub to src/main/resources/mac overriding the existing ones.'
202202
src([
32.1 KB
Binary file not shown.
16.1 KB
Binary file not shown.

src/main/resources/mac/universalJavaApplicationStub.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -907,7 +907,7 @@ stub_logger "[WorkingDirectory] ${WorkingDirectory}"
907907
[ -x "$BootstrapScript" ] && "$BootstrapScript"
908908

909909
# fix: read JVM options from file
910-
[ -f $JVMOptionsFile ] && while read -r option; do JVMDefaultOptions+=" $option"; done <<< $(sed "/^#.*$/d" $JVMOptionsFile)
910+
[ -f $JVMOptionsFile ] && IFS= && while read -r option; do JVMOptionsArr+=("$option"); done <<< $(sed "/^#.*$/d" $JVMOptionsFile) && unset IFS
911911

912912
# execute Java and set
913913
# - classpath
16 KB
Binary file not shown.

0 commit comments

Comments
 (0)