[GRASS-SVN] r53491 - grass/branches/develbranch_6/lib/init
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Oct 19 04:07:18 PDT 2012
Author: martinl
Date: 2012-10-19 04:07:18 -0700 (Fri, 19 Oct 2012)
New Revision: 53491
Modified:
grass/branches/develbranch_6/lib/init/init.bat
Log:
winGRASS: read variables from "%APPDATA%\GRASS6\env.bat"
Modified: grass/branches/develbranch_6/lib/init/init.bat
===================================================================
--- grass/branches/develbranch_6/lib/init/init.bat 2012-10-19 11:00:27 UTC (rev 53490)
+++ grass/branches/develbranch_6/lib/init/init.bat 2012-10-19 11:07:18 UTC (rev 53491)
@@ -25,6 +25,10 @@
set SAVEPATH=%PATH%
rem DON'T include scripts directory in PATH - .bat files in bin directory
rem are used to run scripts on Windows
+
+if exist "%APPDATA%\GRASS6\env.bat" (
+ call %APPDATA%\GRASS6\env.bat
+)
if "%GRASS_ADDON_PATH%"=="" set GRASS_ADDON_PATH=%APPDATA%\GRASS6\addons
PATH=%GISBASE%\bin;%GISBASE%\lib;%GRASS_ADDON_PATH%;%PATH%
More information about the grass-commit
mailing list