From 3a05f59aef8634724d25b3375c6317b17cb55cad Mon Sep 17 00:00:00 2001 From: Sascha Silbe Date: Tue, 13 Mar 2012 20:52:05 +0000 Subject: bundlemodule: let build phase depend on checkout phase We accidentally dropped this dependency in 2e01f34. --- 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) -- cgit v0.9.1