[GRASS-SVN] r49619 - grass/branches/develbranch_6/lib/init
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Dec 8 06:08:17 EST 2011
Author: martinl
Date: 2011-12-08 03:08:17 -0800 (Thu, 08 Dec 2011)
New Revision: 49619
Modified:
grass/branches/develbranch_6/lib/init/init.bat
Log:
marisn: Create a GRASS6 folder if it's missing for grassrc6 storage on Windows
(merge r49618 from relbr64)
Modified: grass/branches/develbranch_6/lib/init/init.bat
===================================================================
--- grass/branches/develbranch_6/lib/init/init.bat 2011-12-08 10:50:29 UTC (rev 49618)
+++ grass/branches/develbranch_6/lib/init/init.bat 2011-12-08 11:08:17 UTC (rev 49619)
@@ -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