Skip to content

Commit

Permalink
Append newline after template_declares substitution
Browse files Browse the repository at this point in the history
  • Loading branch information
jroper committed Sep 2, 2013
1 parent 8a6d251 commit 5cb8114
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ object JavaAppBashScript {
for(line <- sbt.IO.readLinesURL(bashTemplateSource, charset)) {
if(line contains """${{template_declares}}""") {
sb append (defines mkString "\n")
sb append "\n"
} else {
sb append line
sb append "\n"
Expand All @@ -54,4 +55,4 @@ object JavaAppBashScript {
def mainClassDefine(mainClass: String) =
"declare -r app_mainclass=\"%s\"\n" format (mainClass)

}
}

0 comments on commit 5cb8114

Please sign in to comment.