Explorar el Código

install fixed

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@38271 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa hace 16 años
padre
commit
3069b5985d
Se han modificado 1 ficheros con 3 adiciones y 3 borrados
  1. 3 3
      scripts/g.extension/g.extension.py

+ 3 - 3
scripts/g.extension/g.extension.py

@@ -144,7 +144,7 @@ def install_extension(svnurl, gisbase, module):
     grass.message("Compiling '%s'..." % module)
     if grass.call(['make',
                    'MODULE_TOPDIR=%s' % gisbase]) != 0:
-        grass.fatal('Compilation failed, sorry. Please check above error messages')
+        grass.fatal('Compilation failed, sorry. Please check above error messages.')
     
     grass.message("Installing '%s'..." % module)
     # can we write ?
@@ -154,8 +154,8 @@ def install_extension(svnurl, gisbase, module):
         f = open(file, "w")
         f.close()
         os.remove(file)
-
-        ret = grass.call(['make'
+        
+        ret = grass.call(['make',
                           'MODULE_TOPDIR=%s' % gisbase,
                           'install'])
     except IOError: