Skip to content

Commit 21af7ef

Browse files
committed
fix for GRAILS-10208 "Command line error with additional files in grails-app/conf"
1 parent f50ffd1 commit 21af7ef

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

grails-bootstrap/src/main/groovy/grails/util/BuildSettings.groovy

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1640,7 +1640,9 @@ class BuildSettings extends AbstractBuildSettings {
16401640
else if (!isFile && !isHidden) {
16411641
final fileName = f.name
16421642
if (fileName != 'hibernate' && fileName != 'spring') {
1643-
copyDirectoryContentsToTarget(f, new File(targetPath, fileName).path)
1643+
final newDir = new File(targetPath, fileName)
1644+
newDir.mkdirs()
1645+
copyDirectoryContentsToTarget(f, newDir.path)
16441646
}
16451647
}
16461648
}

0 commit comments

Comments
 (0)