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

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Jul 5 15:27:52 EDT 2009


Author: martinl
Date: 2009-07-05 15:27:52 -0400 (Sun, 05 Jul 2009)
New Revision: 38271

Modified:
   grass/trunk/scripts/g.extension/g.extension.py
Log:
install fixed


Modified: grass/trunk/scripts/g.extension/g.extension.py
===================================================================
--- grass/trunk/scripts/g.extension/g.extension.py	2009-07-05 19:17:22 UTC (rev 38270)
+++ grass/trunk/scripts/g.extension/g.extension.py	2009-07-05 19:27:52 UTC (rev 38271)
@@ -144,7 +144,7 @@
     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 @@
         f = open(file, "w")
         f.close()
         os.remove(file)
-
-        ret = grass.call(['make'
+        
+        ret = grass.call(['make',
                           'MODULE_TOPDIR=%s' % gisbase,
                           'install'])
     except IOError:



More information about the grass-commit mailing list