comparison package-files/osx/JavaApplicationStub @ 41:4903ac32a287

Work around minor bash bug.
author David Barts <n5jrn@me.com>
date Fri, 01 May 2020 23:12:35 -0700
parents a65a8f5a9647
children
comparison
equal deleted inserted replaced
40:a65a8f5a9647 41:4903ac32a287
150 # And off we go! 150 # And off we go!
151 jcmd=( "$JAVA_HOME/bin/java" -cp "$approot/$JVMClassPath" 151 jcmd=( "$JAVA_HOME/bin/java" -cp "$approot/$JVMClassPath"
152 -Xdock:icon="$approot/Contents/Resources/$CFBundleIconFile" 152 -Xdock:icon="$approot/Contents/Resources/$CFBundleIconFile"
153 -Xdock:name="$CFBundleName" "${JVMOptions[@]}" "$JVMMainClassName" ) 153 -Xdock:name="$CFBundleName" "${JVMOptions[@]}" "$JVMMainClassName" )
154 154
155 stub_logger "Executing: ${jcmd[@]}" 155 stub_logger "Executing: ${jcmd[*]}"
156 exec "${jcmd[@]}" 156 exec "${jcmd[@]}"
157 157
158 # This shouldn't happen... 158 # This shouldn't happen...
159 die "Could not launch Java." 159 die "Could not launch Java."