Skip to content

Commit 0561a8b

Browse files
author
graeme
committed
fix for GRAILS-1961
git-svn-id: https://svn.codehaus.org/grails/trunk@6282 1cfb16fd-6d17-0410-8ff1-b7e8e1e2867d
1 parent f5c7d1b commit 0561a8b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

scripts/Help.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class HelpEvaluatingCategory {
4444
}
4545

4646
File getHelpFile(File script) {
47-
File helpDir = new File(script.getParentFile(), "help")
47+
File helpDir = new File(grailsTmp, "help")
4848
if (!helpDir.exists()) helpDir.mkdir()
4949
String scriptname = script.getName()
5050
return new File(helpDir, scriptname.substring(0, scriptname.lastIndexOf('.')) + ".txt")

scripts/Init.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ basedir = System.getProperty("base.dir")
4444
baseFile = new File(basedir)
4545
baseName = baseFile.name
4646
userHome = Ant.antProject.properties."user.home"
47-
grailsTmp = "${userHome}/.grails/tmp"
47+
grailsTmp = "${userHome}/.grails/${grailsVersion}/tmp"
4848
eventsClassLoader = new GroovyClassLoader(getClass().classLoader)
4949
classesDirPath = "${userHome}/.grails/${grailsVersion}/projects/${baseName}/classes"
5050
classesDir = new File(classesDirPath)

0 commit comments

Comments
 (0)