[GRASS-dev] Bash aliases in GRASS

Nikos Alexandris nik at nikosalexandris.net
Sun Feb 17 10:02:02 PST 2013


Nikos Alexandris wrote:

> > > #export GISBASE=/opt/grass-7.0.svn
> > > export GISBASE=/usr/local/src/grass/svn/dist.x86_64-unknown-linux-gnu
> > ...
> > Shouldn't the following:
> > > tmp=/tmp/grass6-"`whoami`"-$GIS_LOCK

> > be rather: tmp=/tmp/grass7-"`whoami`"-$GIS_LOCK

Glynn Clements wrote:
 
> The name really doesn't matter. GRASS only ever accesses the file via
> the GISRC environment variable.

o-kay.

[@Hamish] I'll try to simplify the Wiki again.

> > > export GISRC="$tmp/gisrc"
> > > mkdir "$tmp"

> > and the following:
> > > cp ~/.grassrc6 "$GISRC"

> > be rather: cp ~/.grass7/rc "$GISRC"
 
> Again, it doesn't actually matter unless the same file is supposed to
> be used when creating a GRASS session via the startup script.

> FWIW, I do have a ~/.grass7/rc file; the timestamp is Feb 2010, which
> shows how often I run the startup script.

Thanks, Nikos
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 230 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20130217/20a10dfc/attachment.pgp>


More information about the grass-dev mailing list