[GRASS-SVN] r51189 - grass/trunk/scripts/g.extension
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Mar 30 07:29:59 EDT 2012
Author: martinl
Date: 2012-03-30 04:29:59 -0700 (Fri, 30 Mar 2012)
New Revision: 51189
Modified:
grass/trunk/scripts/g.extension/g.extension.py
Log:
g.extension: fix -d flag
Modified: grass/trunk/scripts/g.extension/g.extension.py
===================================================================
--- grass/trunk/scripts/g.extension/g.extension.py 2012-03-30 10:03:49 UTC (rev 51188)
+++ grass/trunk/scripts/g.extension/g.extension.py 2012-03-30 11:29:59 UTC (rev 51189)
@@ -738,7 +738,7 @@
sys.stderr.write(' '.join(makeCmd) + '\n')
grass.message(_("To install run:\n\n"))
sys.stderr.write(' '.join(installCmd) + '\n')
- return
+ return 0
os.chdir(os.path.join(tmpdir, name))
@@ -755,7 +755,7 @@
grass.fatal(_('Compilation failed, sorry. Please check above error messages.'))
if flags['i'] or name in gui_list:
- return
+ return 0
grass.message(_("Installing..."))
More information about the grass-commit
mailing list