[GRASS-SVN] r37169 - grass/trunk/lib/gis

svn_grass at osgeo.org svn_grass at osgeo.org
Mon May 11 13:22:44 EDT 2009


Author: hamish
Date: 2009-05-11 13:22:44 -0400 (Mon, 11 May 2009)
New Revision: 37169

Modified:
   grass/trunk/lib/gis/parser.c
Log:
don't hardcode python exe (merge from devbr6)

Modified: grass/trunk/lib/gis/parser.c
===================================================================
--- grass/trunk/lib/gis/parser.c	2009-05-11 17:20:45 UTC (rev 37168)
+++ grass/trunk/lib/gis/parser.c	2009-05-11 17:22:44 UTC (rev 37169)
@@ -1866,7 +1866,7 @@
 
     sprintf(script, "%s/etc/wxpython/gui_modules/menuform.py",
 	    getenv("GISBASE"));
-    G_spawn("python", "menuform.py", script, st->pgm_name, NULL);
+    G_spawn(getenv("GRASS_PYTHON"), "menuform.py", script, st->pgm_name, NULL);
 }
 
 /**



More information about the grass-commit mailing list