[GRASS-SVN] r48896 - grass/trunk/scripts/g.extension

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Oct 21 06:00:49 EDT 2011


Author: lucadelu
Date: 2011-10-21 03:00:49 -0700 (Fri, 21 Oct 2011)
New Revision: 48896

Modified:
   grass/trunk/scripts/g.extension/g.extension.py
Log:
now files in etc are installed to addons/etc/extension_name/ as in $GISBASE/etc/ 

Modified: grass/trunk/scripts/g.extension/g.extension.py
===================================================================
--- grass/trunk/scripts/g.extension/g.extension.py	2011-10-21 09:51:26 UTC (rev 48895)
+++ grass/trunk/scripts/g.extension/g.extension.py	2011-10-21 10:00:49 UTC (rev 48896)
@@ -338,7 +338,7 @@
                'HTMLDIR=%s' % dirs['html'],
                'MANDIR=%s' % dirs['man1'],
                'SCRIPTDIR=%s' % dirs['scripts'],
-               'ETC=%s' % dirs['etc']
+               'ETC=%s' % os.path.join(dirs['etc'],options['extension'])
                ]
     
     installCmd = ['make',



More information about the grass-commit mailing list