aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/build_commands.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/servo/build_commands.py')
-rw-r--r--python/servo/build_commands.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/python/servo/build_commands.py b/python/servo/build_commands.py
index d788b092c05..8182f42dc9e 100644
--- a/python/servo/build_commands.py
+++ b/python/servo/build_commands.py
@@ -406,8 +406,10 @@ class MachCommands(CommandBase):
# Do some additional things if the build succeeded
if status == 0:
if android and not no_package:
- Registrar.dispatch("package", context=self.context,
- release=release, dev=dev, target=target)
+ rv = Registrar.dispatch("package", context=self.context,
+ release=release, dev=dev, target=target)
+ if rv:
+ return rv
if sys.platform == "win32":
servo_exe_dir = path.join(base_path, "debug" if dev else "release")