[GRASS-SVN] r67872 - grass/trunk/lib/python/script
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Feb 17 22:44:33 PST 2016
Author: zarch
Date: 2016-02-17 22:44:33 -0800 (Wed, 17 Feb 2016)
New Revision: 67872
Modified:
grass/trunk/lib/python/script/utils.py
Log:
scipt utils: fix set_path when load libraries from GRASS_ADDON_BASE directory
Modified: grass/trunk/lib/python/script/utils.py
===================================================================
--- grass/trunk/lib/python/script/utils.py 2016-02-17 20:43:47 UTC (rev 67871)
+++ grass/trunk/lib/python/script/utils.py 2016-02-18 06:44:33 UTC (rev 67872)
@@ -275,7 +275,7 @@
path = join(os.getenv('GISBASE'), 'etc', modname)
elif getenv('GRASS_ADDON_BASE') and libname and \
isdir(join(getenv('GRASS_ADDON_BASE'), 'etc', modname, libname)):
- path = join(getenv('GRASS_ADDON_BASE'), 'etc', modname, libname)
+ path = join(getenv('GRASS_ADDON_BASE'), 'etc', modname)
elif getenv('GRASS_ADDON_BASE') and \
isdir(join(getenv('GRASS_ADDON_BASE'), 'etc', modname)):
path = join(getenv('GRASS_ADDON_BASE'), 'etc', modname)
More information about the grass-commit
mailing list