sbt-native-packager's version: 1.11.7
Description
We attempted to switch over to using the ash script plugin recently and noticed that the generated ash script does not quote its $java_cmd variable.
|
exec $java_cmd $java_opts -classpath $app_classpath $opts $app_mainclass $app_commands "$@" |
This means that the generated start script won't work on any environments where the path to the java command that have spaces and the like. I assumes that the fix would be to quote this variable like the bash template is already doing.
I will raise a PR for this if that is acceptable.
sbt-native-packager's version:1.11.7Description
We attempted to switch over to using the ash script plugin recently and noticed that the generated ash script does not quote its
$java_cmdvariable.sbt-native-packager/src/main/resources/com/typesafe/sbt/packager/archetypes/scripts/ash-template
Line 179 in 101597d
This means that the generated start script won't work on any environments where the path to the java command that have spaces and the like. I assumes that the fix would be to quote this variable like the bash template is already doing.
sbt-native-packager/src/main/resources/com/typesafe/sbt/packager/archetypes/scripts/bash-template
Line 265 in 101597d
I will raise a PR for this if that is acceptable.