[GRASS-SVN] r47962 - grass/branches/develbranch_6/lib/init
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Aug 29 16:10:17 EDT 2011
Author: mmetz
Date: 2011-08-29 13:10:17 -0700 (Mon, 29 Aug 2011)
New Revision: 47962
Modified:
grass/branches/develbranch_6/lib/init/init.bat
Log:
wingrass init.bat: create rc basedir of not existing
Modified: grass/branches/develbranch_6/lib/init/init.bat
===================================================================
--- grass/branches/develbranch_6/lib/init/init.bat 2011-08-29 20:00:59 UTC (rev 47961)
+++ grass/branches/develbranch_6/lib/init/init.bat 2011-08-29 20:10:17 UTC (rev 47962)
@@ -76,6 +76,7 @@
set HAVE_GISRC=false
rem Create an initial GISRC file based on current directory
+mkdir "%APPDATA%\grass6"
"%WINGISBASE%\etc\echo" "GISDBASE: %USERPROFILE%" | g.dirseps -g > "%WINGISRC%"
"%WINGISBASE%\etc\echo" "LOCATION_NAME: <UNKNOWN>" >> "%WINGISRC%"
"%WINGISBASE%\etc\echo" "MAPSET: <UNKNOWN>" >> "%WINGISRC%"
More information about the grass-commit
mailing list