[GRASS5] Re: TCLTKGRASS broken on Linux

Markus Neteler neteler at itc.it
Mon May 19 08:29:39 EDT 2003


Hi Alex,
(cc grass5)

On Mon, May 19, 2003 at 05:09:05AM -0700, Alex Shevlakov wrote:
> Hi Markus,
> 
> I recently checked the updates in 5.0.3 and found
> that due to quoted variables in "tcltkgrass" shell
> script
> (your diff to 1.10) these variables are null elsewhere
> thus nothing works in picking features in tcltkgrass
> boxes.
> It's 7.3 RedHat with 8.3 Tcl/Tk on my box.

thanks for pointing this out - on Redhat 7.3 it works...

grass/src/tcltkgrass/tcltkgrass,v
retrieving revision 1.10
retrieving revision 1.11
diff -r1.10 -r1.11
12,14c12,14
< set env(GISDBASE) [exec g.gisenv get=GISDBASE]
< set env(LOCATION_NAME) [exec g.gisenv get=LOCATION_NAME]
< set env(MAPSET) [exec g.gisenv get=MAPSET]
---
> set env(GISDBASE) [exec g.gisenv get="GISDBASE"]
> set env(LOCATION_NAME) [exec g.gisenv get="LOCATION_NAME"]
> set env(MAPSET) [exec g.gisenv get="MAPSET"]

Is this change wrong? Should it be 
get=\"LOCATION_NAME\"
etc instead?

Markus




More information about the grass-dev mailing list