Hi, in GRASS7, the GRASS_ADDONS_PATH is predefined if not user defined. The same should happen in GRASS 6 to avoid extra user hassle.
Attached a Linux oriented patch, what would be the settings for $MINGW, $CYGWIN and $MACOSX? Markus
Index: lib/init/init.sh =================================================================== --- lib/init/init.sh (revision 48785) +++ lib/init/init.sh (working copy) @@ -256,11 +256,11 @@ LCL=`echo "$LANG" | sed 's/\(..\)\(.*\)/\1/'` fi -if [ -n "$GRASS_ADDON_PATH" ] ; then - PATH="$GISBASE/bin:$GISBASE/scripts:$GRASS_ADDON_PATH:$PATH" -else - PATH="$GISBASE/bin:$GISBASE/scripts:$PATH" +if [ -z "$GRASS_ADDON_PATH" ] ; then + GRASS_ADDON_PATH="$HOME/.grass6/addons/" + export GRASS_ADDON_PATH fi +PATH="$GISBASE/bin:$GISBASE/scripts:$GRASS_ADDON_PATH:$PATH" export PATH # Set LD_LIBRARY_PATH to find GRASS shared libraries
_______________________________________________ grass-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-dev
