File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 33# GNU/ Linux startup script generated by JavaPackager Maven Plugin
44SCRIPTPATH= $(dirname $(readlink - e "$0" ))
55#if ($info.bundleJre )
6- JAVA= $SCRIPTPATH / ${info . jreDirectoryName }/ bin/ java
6+ JAVA= " $SCRIPTPATH / ${info . jreDirectoryName }/ bin/ java"
77#else
88JAVA= java
99#end
10- BINARY= $SCRIPTPATH / ${info . name }
10+ BINARY= " $SCRIPTPATH / ${info . name }"
1111#if ($info.envPath )
1212export PATH= ${info . envPath }
1313#end
1414#if ($info.useResourcesAsWorkingDir )
15- cd $SCRIPTPATH
15+ cd " $SCRIPTPATH "
1616#end
1717#if ($info.administratorRequired )
1818pkexec env DISPLAY= $DISPLAY XAUTHORITY= $XAUTHORITY GDKBACKEND= x11 $JAVA ${vmArgs } - jar $BINARY $@
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ export JAVA_HOME="$SCRIPTPATH/../PlugIns/${info.jreDirectoryName}/Contents/Home"
88export PATH=${info.envPath}
99# end
1010# if ($info.administratorRequired)
11- osascript -e " do shell script \" $SCRIPTPATH /universalJavaApplicationStub $@ \" with administrator privileges"
11+ osascript -e " do shell script ' \" $SCRIPTPATH /universalJavaApplicationStub\" $@ ' with administrator privileges"
1212# else
13- $SCRIPTPATH /universalJavaApplicationStub $@
13+ " $SCRIPTPATH /universalJavaApplicationStub" $@
1414# end
You can’t perform that action at this time.
0 commit comments