[GRASS-dev] compiling GRASS 6.3.0RC2 on Solaris 10
Glynn Clements
glynn at gclements.plus.com
Mon Nov 26 13:13:41 EST 2007
Hamish wrote:
> > > > The option "Help->About System" starts another instance of the gis
> > > > manager.
> Hamish:
> > > ISTR someone else had reported this recently?
> Maris Nartiss wrote:
> > yes, this issue affects Gentoo Linux too. Someone has broken this feature.
>
>
> gui/tcltk/gis.m/gmmenu.tcl has:
> {command {[G_msg "About &System"]}
> {} {[G_msg "About System"]} {} -command {
> exec $env(GRASS_WISH) $env(GISBASE)/etc/gm/tksys.tcl --tcltk & }}
>
>
> and tksys.tcl starts with:
> #!/bin/sh
> # the next line restarts using wish \
> exec $GRASS_WISH "$0" "$@"
>
>
>
> perhaps it is wish running twice, or the $0 is finding gis.m? the extension
> being .tcl when it starts with #!/bin/sh doesn't look good either.
The problem is that tksys.tcl has:
source $env(GISBASE)/etc/gm/gm.tcl
--
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-dev
mailing list