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

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Aug 14 10:21:12 PDT 2014


Author: martinl
Date: 2014-08-14 10:21:11 -0700 (Thu, 14 Aug 2014)
New Revision: 61636

Modified:
   grass/trunk/scripts/g.extension/g.extension.py
Log:
g.extension: avoid failure to_translate.c: Directory nonexistent
             TODO: handle locales also for addons


Modified: grass/trunk/scripts/g.extension/g.extension.py
===================================================================
--- grass/trunk/scripts/g.extension/g.extension.py	2014-08-14 16:43:57 UTC (rev 61635)
+++ grass/trunk/scripts/g.extension/g.extension.py	2014-08-14 17:21:11 UTC (rev 61636)
@@ -746,7 +746,10 @@
              'html'    : os.path.join(TMPDIR, name, 'docs', 'html'),
              'rest'    : os.path.join(TMPDIR, name, 'docs', 'rest'),
              'man'     : os.path.join(TMPDIR, name, 'docs', 'man', 'man1'),
-             'scripts' : os.path.join(TMPDIR, name, 'scripts'),
+             'script'  : os.path.join(TMPDIR, name, 'scripts'),
+### TODO: handle locales also for addons
+#             'string'  : os.path.join(TMPDIR, name, 'locale'),
+             'string'  : os.path.join(TMPDIR, name),
              'etc'     : os.path.join(TMPDIR, name, 'etc'),
              }
 
@@ -757,7 +760,8 @@
                'HTMLDIR=%s' % dirs['html'],
                'RESTDIR=%s' % dirs['rest'],
                'MANDIR=%s' % dirs['man'],
-               'SCRIPTDIR=%s' % dirs['scripts'],
+               'SCRIPTDIR=%s' % dirs['script'],
+               'STRINGDIR=%s' % dirs['string'],
                'ETC=%s' % os.path.join(dirs['etc'], name)
     ]
     



More information about the grass-commit mailing list