[GRASS-dev] env variables not set

Markus Neteler neteler at osgeo.org
Mon Jan 7 10:00:50 EST 2008


On Jan 7, 2008 12:52 PM, Glynn Clements <glynn at gclements.plus.com> wrote:
>
> Moritz Lennert wrote:
>
> > I don't know if this is a local problem with my setup, but for some time
> > now, MAPSET, LOCATION_NAME, and GISDBASE are not defined anymore in a
> > running GRASS session. Just recompiled with fresh svn checkout, and the
> > problem persists.
> >
> > This means that I can't do things like
> >
> > database=$GISDBASE/$LOCATION_NAME/$MAPSET/dbf/
> >
> > I don't see any relevant changes in lib/init/init.sh which could explain
> > this, but before I dig deeper to find out what's going on I would like
> > to hear whether anyone else has this problem.
>
> This was changed years ago (in 5.x, AFAICT; there doesn't appear to be
> any way to obtain the revision history for 5.x now that CVS is gone).

You can: example:

cd lib/gis/
svn log key_value1.c
------------------------------------------------------------------------
r23436 | glynn | 2007-04-15 01:02:01 +0200 (Sun, 15 Apr 2007) | 4 lines
Use "const" where appropriate
Use (void) instead of () for empty parameter lists
Use full type for function pointers
...
------------------------------------------------------------------------
r13833 | bernhard | 2004-11-09 13:18:56 +0100 (Tue, 09 Nov 2004) | 2 lines
copied within CVS repository from grass/src/libes/gis/key_value1.c
------------------------------------------------------------------------
r9499 | markus | 1999-12-29 16:10:05 +0100 (Wed, 29 Dec 1999) | 2 lines
Initial revision
------------------------------------------------------------------------

If you want a ChangeLog file, just get 'svn2cl', see
http://trac.osgeo.org/grass/wiki/HowToSVN

Also: The CVS should still work (and the old ChangeLog files are available).

Markus


More information about the grass-dev mailing list