From ea97daf3239265bfc2ed5df8471cf74d63d64fe8 Mon Sep 17 00:00:00 2001 From: David Hoepelman Date: Wed, 6 Apr 2016 14:40:02 +0200 Subject: [PATCH] Restore ash plugin argument behavior as it was before a037519 --- .../com/typesafe/sbt/packager/archetypes/ash-template | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/main/resources/com/typesafe/sbt/packager/archetypes/ash-template b/src/main/resources/com/typesafe/sbt/packager/archetypes/ash-template index 9dc4794ce..18de7256d 100644 --- a/src/main/resources/com/typesafe/sbt/packager/archetypes/ash-template +++ b/src/main/resources/com/typesafe/sbt/packager/archetypes/ash-template @@ -39,9 +39,8 @@ lib_dir="$(realpath "${app_home}/../lib")" ${{template_declares}} -# if configuration files exist, prepend their contents to $@ so it can be processed by this runner -[ -f "$script_conf_file" ] && set -- $(loadConfigFile "$script_conf_file") "$@" - -java -classpath $app_classpath "$@" $app_mainclass +# If a configuration file exist, read the contents to $opts +[ -f "$script_conf_file" ] && set -- $(loadConfigFile "$script_conf_file") "$opts" +java -classpath $app_classpath $opts $app_mainclass $@