[jhbuild] [buildscript] fix moving to next phase on unknown phase (GNOME bug 584283)
- From: Frederic Peters <fpeters src gnome org>
- To: svn-commits-list gnome org
- Subject: [jhbuild] [buildscript] fix moving to next phase on unknown phase (GNOME bug 584283)
- Date: Tue, 2 Jun 2009 11:42:18 -0400 (EDT)
commit 61ae88e08c8aecac67fd843403e59c1a506154b8
Author: Sascha Silbe <sascha-hp-2009-1 silbe org>
Date: Tue Jun 2 17:41:38 2009 +0200
[buildscript] fix moving to next phase on unknown phase (GNOME bug 584283)
When instructing jhbuild to execute the "clean" command (from the CLI),
jhbuild would go into an endless loop if the module type didn't support
this phase.
---
jhbuild/frontends/buildscript.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/jhbuild/frontends/buildscript.py b/jhbuild/frontends/buildscript.py
index 01482e0..00937ea 100644
--- a/jhbuild/frontends/buildscript.py
+++ b/jhbuild/frontends/buildscript.py
@@ -121,6 +121,7 @@ class BuildScript:
if not module.has_phase(phase):
# skip phases that do not exist, this can happen when
# phases were explicitely passed to this method.
+ num_phase += 1
continue
self.start_phase(module.name, phase)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]