[GRASS-SVN] r37168 - grass/branches/develbranch_6/lib/gis
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon May 11 13:20:45 EDT 2009
Author: hamish
Date: 2009-05-11 13:20:45 -0400 (Mon, 11 May 2009)
New Revision: 37168
Modified:
grass/branches/develbranch_6/lib/gis/parser.c
Log:
don't hardcode python exe
Modified: grass/branches/develbranch_6/lib/gis/parser.c
===================================================================
--- grass/branches/develbranch_6/lib/gis/parser.c 2009-05-11 17:18:54 UTC (rev 37167)
+++ grass/branches/develbranch_6/lib/gis/parser.c 2009-05-11 17:20:45 UTC (rev 37168)
@@ -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