jhbuild r2796 - in trunk: . jhbuild/commands



Author: fpeters
Date: Mon Apr 13 08:20:03 2009
New Revision: 2796
URL: http://svn.gnome.org/viewvc/jhbuild?rev=2796&view=rev

Log:
* jhbuild/commands/autobuild.py, jhbuild/commands/gui.py,
jhbuild/commands/tinderbox.py: return an error code on failure.
(closes: #578668)



Modified:
   trunk/ChangeLog
   trunk/jhbuild/commands/autobuild.py
   trunk/jhbuild/commands/gui.py
   trunk/jhbuild/commands/tinderbox.py

Modified: trunk/jhbuild/commands/autobuild.py
==============================================================================
--- trunk/jhbuild/commands/autobuild.py	(original)
+++ trunk/jhbuild/commands/autobuild.py	Mon Apr 13 08:20:03 2009
@@ -81,6 +81,6 @@
                 raise FatalError(_('%s not in module list') % options.startat)
     
         build = jhbuild.frontends.get_buildscript(config, module_list)
-        build.build()
+        return build.build()
 
 register_command(cmd_autobuild)

Modified: trunk/jhbuild/commands/gui.py
==============================================================================
--- trunk/jhbuild/commands/gui.py	(original)
+++ trunk/jhbuild/commands/gui.py	Mon Apr 13 08:20:03 2009
@@ -51,6 +51,6 @@
 
         if module_list != None:
             build = jhbuild.frontends.get_buildscript(config, module_list)
-            build.build()
+            return build.build()
 
 register_command(cmd_gui)

Modified: trunk/jhbuild/commands/tinderbox.py
==============================================================================
--- trunk/jhbuild/commands/tinderbox.py	(original)
+++ trunk/jhbuild/commands/tinderbox.py	Mon Apr 13 08:20:03 2009
@@ -101,6 +101,6 @@
                 raise FatalError(_('%s not in module list') % options.startat)
 
         build = jhbuild.frontends.get_buildscript(config, module_list)
-        build.build()
+        return build.build()
 
 register_command(cmd_tinderbox)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]