[GRASS5] Re: init.sh PATH

Glynn Clements glynn at gclements.plus.com
Fri Apr 8 23:49:39 EDT 2005

Michael Barton wrote:

> In fact, shouldn't it be the first thing on the line?
> PATH=$PATH:$GISBASE/bin:$GISBASE/scripts:/usr/X11R6/bin:/usr/local/bin:/usr/
> local/grasslib/bin:$GRASS_ADDON_PATH
> instead of...
> PATH=$GISBASE/bin:$GISBASE/scripts:/usr/X11R6/bin:/usr/local/bin:/usr/local/
> grasslib/bin:$PATH:$GRASS_ADDON_PATH

No, the GRASS directories should take precedence, i.e.:


Note: no fixed directories (e.g. /usr/local/bin) should be added by
init.sh. The search order for external directories (i.e. anything
which isn't part of GRASS) is up to the user.

Glynn Clements <glynn at gclements.plus.com>

More information about the grass-dev mailing list