[jhbuild] [tinderbox] fix --output command line argument (GNOME bug 583849)



commit 384dfdea5d463cb99fddd226dbb3c16062a5f655
Author: Frédéric Péters <fpeters 0d be>
Date:   Tue May 26 10:54:35 2009 +0200

    [tinderbox] fix --output command line argument (GNOME bug 583849)
---
 jhbuild/commands/tinderbox.py |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/jhbuild/commands/tinderbox.py b/jhbuild/commands/tinderbox.py
index 8a94d73..9049beb 100644
--- a/jhbuild/commands/tinderbox.py
+++ b/jhbuild/commands/tinderbox.py
@@ -65,10 +65,11 @@ class cmd_tinderbox(Command):
             ])
 
     def run(self, config, options, args):
-        extra_config = {'buildscript': 'tinderbox'}
-        if options.force_policy:
-            extra_config = {'build_policy': 'all'}
         config.set_from_cmdline_options(options)
+        config.buildscript = 'tinderbox'
+
+        if options.outputdir is not None:
+            config.tinderbox_outputdir = options.outputdir
 
         if not config.tinderbox_outputdir:
             raise UsageError(_('output directory for tinderbox build not specified'))



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