[GRASS-dev] Re: [GRASS-user] g.extension and GRASS 6.4.1

Hamish hamish_b at yahoo.com
Tue May 10 17:32:28 EDT 2011


Hi,

note there is still a minor difference between g.extension(.sh)
in 6.4.svn and 6.5.svn, the default install dir (prefix) is given
as $GRASS_ADDON_PATH in 6.5 while $GISBASE in 6.4.

For package-installs GISBASE is most probably readonly, so
GRASS_ADDON_PATH needs to be used. Note that code already exists
in the script to deal with the case when GRASS_ADDON_PATH does
not exist yet. As William points out GRASS_ADDON_PATH needs
`cut -f1 -d:` or so applied, but that seems manageable.


also, what was the need for using the -f flag with `ln`? It seems
rather dangerous to me. If the user already has a file there the
script needs to exit with an error instead of deleting their
prior work without asking.
  https://trac.osgeo.org/grass/changeset/44325


cheers,
Hamish



More information about the grass-dev mailing list