Browse Source

Merge pull request #7535 from Pei-Tang Huang

* gh-7535:
  Quote $jarfile when creating arguments in launch script
pull/7529/merge
Andy Wilkinson 9 years ago
parent
commit
c5af34bee4
  1. 2
      spring-boot-tools/spring-boot-loader-tools/src/main/resources/org/springframework/boot/loader/tools/launch.script

2
spring-boot-tools/spring-boot-loader-tools/src/main/resources/org/springframework/boot/loader/tools/launch.script

@ -133,7 +133,7 @@ else @@ -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() {

Loading…
Cancel
Save