[jhbuild] Fix 'jhbuild run --in-builddi=module'



commit 0f553d282bb10d96af85fbb4d830fc7b3e1785f1
Author: Jon TURNEY <jon turney dronecode org uk>
Date:   Mon Oct 5 18:07:29 2009 +0100

    Fix 'jhbuild run --in-builddi=module'
    
    Signed-off-by: Jon TURNEY <jon turney dronecode org uk>

 jhbuild/commands/base.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/jhbuild/commands/base.py b/jhbuild/commands/base.py
index ffc02ab..93d552d 100644
--- a/jhbuild/commands/base.py
+++ b/jhbuild/commands/base.py
@@ -367,7 +367,7 @@ class cmd_run(Command):
             ])
 
     def execute(self, config, args):
-        if not args or args[0] in ('--', '--in-builddir', '--help'):
+        if not args or args[0] in ('--', '--help') or args[0].startswith('--in-builddir'):
             options, args = self.parse_args(args)
             return self.run(config, options, args)
         try:



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