[GRASS-dev] Re: [GRASS GIS] #500: GUI menu item to swtich GUIs
GRASS GIS
trac at osgeo.org
Wed Feb 25 20:26:28 EST 2009
#500: GUI menu item to swtich GUIs
--------------------------+-------------------------------------------------
Reporter: hamish | Owner: grass-dev at lists.osgeo.org
Type: enhancement | Status: new
Priority: major | Milestone: 6.4.0
Component: default | Version: 6.4.0 RCs
Resolution: | Keywords: gui
Platform: All | Cpu: All
--------------------------+-------------------------------------------------
Comment (by hamish):
ah, I understand the g.parser weirdness now. The script is not in the path
so it can't find itself when it goes to run the second pass.
I'll try a patch like:
{{{
if [ "$1" != "@ARGS_PARSED@" ] ; then
+ if [ ! -z `$0` ] ; then
+ PATH="$PATH:$GISBASE/etc/gui/scripts"
+ export PATH
+ fi
exec g.parser "$0" "$@"
fi
}}}
(untested)
Hamish
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/500#comment:5>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list