[GRASS-SVN] r39887 - grass/trunk/gui/wxpython/scripts

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Dec 3 21:59:44 EST 2009


Author: hcho
Date: 2009-12-03 21:59:43 -0500 (Thu, 03 Dec 2009)
New Revision: 39887

Modified:
   grass/trunk/gui/wxpython/scripts/p.db
   grass/trunk/gui/wxpython/scripts/p.mon
Log:
gui_modules path fixed when a user-defined PYTHONPATH exists.

Modified: grass/trunk/gui/wxpython/scripts/p.db
===================================================================
--- grass/trunk/gui/wxpython/scripts/p.db	2009-12-03 20:30:10 UTC (rev 39886)
+++ grass/trunk/gui/wxpython/scripts/p.db	2009-12-04 02:59:43 UTC (rev 39887)
@@ -31,6 +31,6 @@
 fi
 export PYTHONPATH
 
-"$GRASS_PYTHON" "$PYTHONPATH/gui_modules/dbm.py" "$GIS_OPT_TABLE"
+"$GRASS_PYTHON" "$GISBASE/etc/wxpython/gui_modules/dbm.py" "$GIS_OPT_TABLE"
 
 exit 0

Modified: grass/trunk/gui/wxpython/scripts/p.mon
===================================================================
--- grass/trunk/gui/wxpython/scripts/p.mon	2009-12-03 20:30:10 UTC (rev 39886)
+++ grass/trunk/gui/wxpython/scripts/p.mon	2009-12-04 02:59:43 UTC (rev 39887)
@@ -81,7 +81,7 @@
 g.gisenv set="GRASS_PYCMDFILE=${command_file}"
 
 if [ -n "$start" ] ; then
-    "$GRASS_PYTHON" "$PYTHONPATH/gui_modules/mapdisp.py" "$start" "${command_file}" &
+    "$GRASS_PYTHON" "$GISBASE/etc/wxpython/gui_modules/mapdisp.py" "$start" "${command_file}" &
 fi
 
 if [[ -n "$stop" || -n "$select" || -n "$unlock" ]] ; then



More information about the grass-commit mailing list