[GRASS-SVN] r49161 -
grass/branches/develbranch_6/scripts/g.extension
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Nov 9 15:59:35 EST 2011
Author: hamish
Date: 2011-11-09 12:59:35 -0800 (Wed, 09 Nov 2011)
New Revision: 49161
Modified:
grass/branches/develbranch_6/scripts/g.extension/g.extension
Log:
create symlinks also if the module decides to use its hardcoded ~/.grass6/addons
Modified: grass/branches/develbranch_6/scripts/g.extension/g.extension
===================================================================
--- grass/branches/develbranch_6/scripts/g.extension/g.extension 2011-11-09 20:39:22 UTC (rev 49160)
+++ grass/branches/develbranch_6/scripts/g.extension/g.extension 2011-11-09 20:59:35 UTC (rev 49161)
@@ -390,7 +390,7 @@
exit 1
fi
- if [ "$MYINST_DIR" = "$GRASS_ADDON_PATH1" ] ; then
+ if [ "$MYINST_DIR" = "$GRASS_ADDON_PATH1" ] || [ "$GRASS_ADDON_PATH1" = ~/.grass6/addons ] ; then
# symlink into path which is actually in the $PATH
ln -s "$MYINST_DIR/$PROGTYPE/$MODULE" "$MYINST_DIR/"
fi
More information about the grass-commit
mailing list