[GRASS-dev] env variables not set
Moritz Lennert
mlennert at club.worldonline.be
Mon Jan 7 07:28:04 EST 2008
On 07/01/08 12:52, Glynn Clements 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).
Strange, I could have sworn that I have successfully done things like:
v.db.connect -o mylakes table=mylakes2
database=$GISDBASE/$LOCATION_NAME/$MAPSET/dbf/
but I guess it must have been in my dreams...
Moritz
More information about the grass-dev
mailing list