Explorar o código

g.extension: dirs are created by makefile system

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@49246 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa %!s(int64=13) %!d(string=hai) anos
pai
achega
b833ad8714
Modificáronse 1 ficheiros con 0 adicións e 4 borrados
  1. 0 4
      scripts/g.extension/g.extension.py

+ 0 - 4
scripts/g.extension/g.extension.py

@@ -364,10 +364,6 @@ def install_extension():
     
     
     grass.message(_("Compiling '%s'...") % options['extension'])    
     grass.message(_("Compiling '%s'...") % options['extension'])    
     if options['extension'] not in gui_list:
     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,
         ret = grass.call(makeCmd,
                          stdout = outdev)
                          stdout = outdev)
     else:
     else: