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

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Nov 14 11:26:12 EST 2011


Author: martinl
Date: 2011-11-14 08:26:12 -0800 (Mon, 14 Nov 2011)
New Revision: 49246

Modified:
   grass/trunk/scripts/g.extension/g.extension.py
Log:
g.extension: dirs are created by makefile system


Modified: grass/trunk/scripts/g.extension/g.extension.py
===================================================================
--- grass/trunk/scripts/g.extension/g.extension.py	2011-11-14 16:21:02 UTC (rev 49245)
+++ grass/trunk/scripts/g.extension/g.extension.py	2011-11-14 16:26:12 UTC (rev 49246)
@@ -364,10 +364,6 @@
     
     grass.message(_("Compiling '%s'...") % options['extension'])    
     if options['extension'] not in gui_list:
-        for d in dirs.itervalues():
-            if not os.path.exists(d):
-                os.makedirs(d)
-        
         ret = grass.call(makeCmd,
                          stdout = outdev)
     else:



More information about the grass-commit mailing list