[GRASS-dev] Bash aliases in GRASS

Nikos Alexandris nik at nikosalexandris.net
Fri Feb 15 15:50:05 PST 2013


Hi Glynn!

Glynn Clements 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

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

and the following:

> cp ~/.grassrc6 "$GISRC"

be rather: cp ~/.grass7/rc "$GISRC"

?

Thank you, Nikos

ps- updated the respective Wiki-Page accordingly! 
<http://grasswiki.osgeo.org/wiki/Working_with_GRASS_without_starting_it_explicitly#Bash_examples_.28GNU.2FLinux.29>
-------------- 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/20130216/39d711b4/attachment.pgp>


More information about the grass-dev mailing list