#500: GUI menu item to swtich GUIs
--------------------------+-------------------------------------------------
Reporter: hamish | Owner: [email protected]
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>
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev