Skip to content

Commit

Permalink
Merge pull request #8 from rohitagarwal01/kenzan-develop
Browse files Browse the repository at this point in the history
update unixScript.text template file
  • Loading branch information
dpeterka committed Nov 10, 2015
2 parents 2338c39 + 0cdbe45 commit 4c7b44f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 171 deletions.
6 changes: 4 additions & 2 deletions clouddriver-web/clouddriver-web.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,16 @@ jar {
}
}


startScripts {
doLast {
unixScript.text = new File('clouddriver-web/config/unixStartScript.txt').text
doLast {
unixScript.text = unixScript.text.replace('DEFAULT_JVM_OPTS=', '\n if [ -f /etc/default/spinnaker ];then \n . /etc/default/spinnaker \n fi \n DEFAULT_JVM_OPTS=')
unixScript.text = unixScript.text.replace('CLASSPATH=$APP_HOME', 'CLASSPATH=$APP_HOME/config:$APP_HOME')
windowsScript.text = windowsScript.text.replace('set CLASSPATH=', 'set CLASSPATH=%APP_HOME%\\config;')
}
}


ospackage {
packageName = project.applicationName
version = project.version.replaceAll('-SNAPSHOT', '')
Expand Down
169 changes: 0 additions & 169 deletions clouddriver-web/config/unixStartScript.txt

This file was deleted.

0 comments on commit 4c7b44f

Please sign in to comment.