[GRASS-SVN] r37170 - grass/branches/releasebranch_6_4/lib/gis

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


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

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

Modified: grass/branches/releasebranch_6_4/lib/gis/parser.c
===================================================================
--- grass/branches/releasebranch_6_4/lib/gis/parser.c	2009-05-11 17:22:44 UTC (rev 37169)
+++ grass/branches/releasebranch_6_4/lib/gis/parser.c	2009-05-11 17:22:56 UTC (rev 37170)
@@ -1981,7 +1981,7 @@
 
     sprintf(script, "%s/etc/wxpython/gui_modules/menuform.py",
 	    getenv("GISBASE"));
-    G_spawn("python", "menuform.py", script, pgm_name, NULL);
+    G_spawn(getenv("GRASS_PYTHON"), "menuform.py", script, pgm_name, NULL);
 }
 
 /**



More information about the grass-commit mailing list