We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cee091c commit e99a75dCopy full SHA for e99a75d
src/main/resources/com/typesafe/sbt/packager/archetypes/ash-template
@@ -29,7 +29,7 @@ realpath () {
29
30
# Loads a configuration file full of default command line options for this script.
31
loadConfigFile() {
32
- cat "$1" | sed '/^\#/d'
+ cat "$1" | sed '/^\#/d' | sed 's/^-J-X/-X/' | tr '\r\n' ' '
33
}
34
35
@@ -40,7 +40,6 @@ lib_dir="$(realpath "${app_home}/../lib")"
40
${{template_declares}}
41
42
# If a configuration file exist, read the contents to $opts
43
-[ -f "$script_conf_file" ] && set -- $(loadConfigFile "$script_conf_file") "$opts"
+[ -f "$script_conf_file" ] && opts=$(loadConfigFile "$script_conf_file")
44
45
java -classpath $app_classpath $opts $app_mainclass $@
46
-
0 commit comments