Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSascha Silbe <silbe@sugarlabs.org>2012-03-13 20:52:05 (GMT)
committer Sascha Silbe <silbe@sugarlabs.org>2012-03-13 20:52:05 (GMT)
commit3a05f59aef8634724d25b3375c6317b17cb55cad (patch)
tree1fa1666ad61b746c8219c1571cc0105f615a80e9
parentce19a2e5954c04456d30c43412cd1fb9f3aa8ad2 (diff)
bundlemodule: let build phase depend on checkout phase
We accidentally dropped this dependency in 2e01f34.
-rw-r--r--sjhbuild/bundlemodule.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/sjhbuild/bundlemodule.py b/sjhbuild/bundlemodule.py
index bc50227..1e72fc5 100644
--- a/sjhbuild/bundlemodule.py
+++ b/sjhbuild/bundlemodule.py
@@ -27,6 +27,8 @@ class BundleModule(distutils.DistutilsModule):
if srcdir != builddir:
cmd.extend(['--build-base', builddir])
buildscript.execute(cmd, cwd = srcdir, extra_env = self.extra_env)
+ do_build.depends = [distutils.DistutilsModule.PHASE_CHECKOUT]
+ do_build.error_phase = [PHASE_FORCE_CHECKOUT]
def do_install(self, buildscript):
buildscript.set_action(_('Installing'), self)