[GRASS-SVN] r55765 - grass/branches/develbranch_6/lib/init
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Apr 13 16:06:35 PDT 2013
Author: hamish
Date: 2013-04-13 16:06:35 -0700 (Sat, 13 Apr 2013)
New Revision: 55765
Modified:
grass/branches/develbranch_6/lib/init/init.bat
Log:
use alternate python if specified. (#1044)
Modified: grass/branches/develbranch_6/lib/init/init.bat
===================================================================
--- grass/branches/develbranch_6/lib/init/init.bat 2013-04-13 18:59:22 UTC (rev 55764)
+++ grass/branches/develbranch_6/lib/init/init.bat 2013-04-13 23:06:35 UTC (rev 55765)
@@ -142,9 +142,11 @@
set PYTHONPATH=%PYTHONPATH%;%GISBASE%\etc\python;%GISBASE%\etc\wxpython
-python "%GISBASE%/etc/wxpython/gis_set.py"
+if "%GRASS_PYTHON%"=="" set GRASS_PYTHON=python
+
+"%GRASS_PYTHON%" "%GISBASE%/etc/wxpython/gis_set.py"
if %errorlevel% == 2 goto exitinit
-python "%GISBASE%/etc/wxpython/wxgui.py"
+"%GRASS_PYTHON%" "%GISBASE%/etc/wxpython/wxgui.py"
goto exitinit
Property changes on: grass/branches/develbranch_6/lib/init/init.bat
___________________________________________________________________
Modified: svn:mime-type
- text/plain
+ text/x-bat
Deleted: svn:keywords
- Author Date Id
More information about the grass-commit
mailing list