Permalink
Browse files

fixed bug in upgrade script that failed upgrade

  • Loading branch information...
Graeme Rocher Graeme Rocher
Graeme Rocher authored and Graeme Rocher committed Jul 1, 2011
1 parent b519bfc commit 91375d800aa575a688f272319b033be48e18d88a
Showing with 1 addition and 5 deletions.
  1. +1 −5 scripts/Upgrade.groovy
View
@@ -140,11 +140,7 @@ move it to the new location of '${basedir}/test/integration'. Please move the di
// Both applications and plugins can have UrlMappings, but only install default if there is nothing already
['UrlMappings.groovy'].each() {template ->
if (!new File(baseFile, '/grails-app/conf').listFiles().find { it.name.endsWith(template) }) {
- copy(tofile: "${basedir}/grails-app/conf/${template}") {
- fileset(file: "${grailsHome}/src/grails/grails-app/conf/${template}") {
- present(present: "srconly", targetdir: "${basedir}/grails-app/conf")
- }
- }
+ copyGrailsResource("${basedir}/grails-app/conf/${template}", grailsResource("src/grails/grails-app/conf/${template}"))
}
}

0 comments on commit 91375d8

Please sign in to comment.