Permalink
Browse files

fix for broken upgrade script

  • Loading branch information...
1 parent fe7c39e commit 1ab803fcd86b189ccbf3f61df2c6e72d55c922e3 @graemerocher graemerocher committed Feb 28, 2011
Showing with 6 additions and 0 deletions.
  1. +6 −0 scripts/Upgrade.groovy
View
@@ -97,6 +97,12 @@ move it to the new location of '${basedir}/test/integration'. Please move the di
}
delete(dir: "${basedir}/tmp", failonerror: false)
+ if(!new File("$grailsHome/src/war").exists()) {
+ if(new File("${grailsHome}/grails-resources").exists()) {
+ grailsHome = new File("${grailsHome}/grails-resources")
+ }
+ }
+
copy(todir: "${basedir}/web-app") {
fileset(dir: "${grailsHome}/src/war") {
include(name: "**/**")

0 comments on commit 1ab803f

Please sign in to comment.