Quote $jarfile when creating arguments in launch script
Previously, if the pathname of fully executable contained any space characters, the launch script would fail to locate the jar file This commit fixes this issue by quoting the jarfile. Closes gh-7535
This commit is contained in:
committed by
Andy Wilkinson
parent
d9bd211062
commit
5a5e2db134
@@ -133,7 +133,7 @@ else
|
||||
exit 1
|
||||
fi
|
||||
|
||||
arguments=(-Dsun.misc.URLClassPath.disableJarChecking=true $JAVA_OPTS -jar $jarfile $RUN_ARGS "$@")
|
||||
arguments=(-Dsun.misc.URLClassPath.disableJarChecking=true $JAVA_OPTS -jar "$jarfile" $RUN_ARGS "$@")
|
||||
|
||||
# Action functions
|
||||
start() {
|
||||
|
||||
Reference in New Issue
Block a user