[GRASS-SVN] r49618 - grass/branches/releasebranch_6_4/lib/init
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Dec 8 05:50:29 EST 2011
Author: marisn
Date: 2011-12-08 02:50:29 -0800 (Thu, 08 Dec 2011)
New Revision: 49618
Modified:
grass/branches/releasebranch_6_4/lib/init/init.bat
Log:
Create a GRASS6 folder if it's missing for grassrc6 storage on Windows
Modified: grass/branches/releasebranch_6_4/lib/init/init.bat
===================================================================
--- grass/branches/releasebranch_6_4/lib/init/init.bat 2011-12-08 02:36:41 UTC (rev 49617)
+++ grass/branches/releasebranch_6_4/lib/init/init.bat 2011-12-08 10:50:29 UTC (rev 49618)
@@ -32,6 +32,10 @@
set GRASS_VERSION=GRASS_VERSION_NUMBER
if "%HOME%"=="" set HOME=%USERPROFILE%
set WINGISRC=%APPDATA%\GRASS6\grassrc6
+rem Create missing folder
+if not exist "%APPDATA%\GRASS6" (
+ md "%APPDATA%\GRASS6"
+)
rem Make sure %GISRC% is set so g.dirseps will work
rem (not actually used)
set GISRC=junk
More information about the grass-commit
mailing list