[GRASS-SVN] r55776 - grass/branches/releasebranch_6_4/lib/init

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Apr 14 01:02:30 PDT 2013


Author: hamish
Date: 2013-04-14 01:02:30 -0700 (Sun, 14 Apr 2013)
New Revision: 55776

Modified:
   grass/branches/releasebranch_6_4/lib/init/init.bat
Log:
use alternate python if specified. (#1044; backport r55765 from debr6)

Modified: grass/branches/releasebranch_6_4/lib/init/init.bat
===================================================================
--- grass/branches/releasebranch_6_4/lib/init/init.bat	2013-04-14 07:40:40 UTC (rev 55775)
+++ grass/branches/releasebranch_6_4/lib/init/init.bat	2013-04-14 08:02:30 UTC (rev 55776)
@@ -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/releasebranch_6_4/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