Skip to content

Commit a3365bc

Browse files
pozhegGraeme Rocher
authored andcommitted
(GRAILS-11487) Fixed location of grails cache files for Windows
1 parent ea61366 commit a3365bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

grails-resources/src/grails/home/bash/startGrails.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ if "%GRAILS_HOME:~-1%"=="\" SET GRAILS_HOME=%GRAILS_HOME:~0,-1%
5959

6060
:init
6161

62-
for %%x in ("%HOMEPATH%") do set SHORTHOME=%%~fsx
62+
for %%x in ("%USERPROFILE%") do set SHORTHOME=%%~fsx
6363
if "x%GRAILS_AGENT_CACHE_DIR%" == "x" set GRAILS_AGENT_CACHE_DIR=%SHORTHOME%/.grails/@grails.version@/
6464
set SPRINGLOADED_PARAMS="profile=grails;cacheDir=%GRAILS_AGENT_CACHE_DIR%"
6565
if not exist "%GRAILS_AGENT_CACHE_DIR%" mkdir "%GRAILS_AGENT_CACHE_DIR%"

0 commit comments

Comments
 (0)