Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main.py2
-rwxr-xr-xsugar-jhbuild2
2 files changed, 2 insertions, 2 deletions
diff --git a/main.py b/main.py
index e8dc959..403b5fa 100644
--- a/main.py
+++ b/main.py
@@ -96,7 +96,7 @@ def main(args):
args.append('sugar-emulator')
try:
- jhbuild.commands.run(command, config, args)
+ return jhbuild.commands.run(command, config, args)
except UsageError, exc:
sys.stderr.write('sugar-jhbuild %s: %s\n' % (command, str(exc)))
parser.print_usage()
diff --git a/sugar-jhbuild b/sugar-jhbuild
index 5cd450c..0f1154c 100755
--- a/sugar-jhbuild
+++ b/sugar-jhbuild
@@ -16,4 +16,4 @@ if len(sys.argv) == 1 or (len(sys.argv) > 1 and sys.argv[1] == 'build'):
import main
-main.main(sys.argv[1:])
+sys.exit(main.main(sys.argv[1:]))