redo-ifchange: return nonzero if one of the dependencies fails to build.

Oops!  We were just always returning 0 (success) in that case.
This commit is contained in:
Avery Pennarun 2010-11-21 07:09:47 -08:00
commit 840a8da1ef
2 changed files with 5 additions and 1 deletions

View file

@ -47,7 +47,7 @@ def should_build(t):
def maybe_build(t):
if should_build(t):
builder.build(t)
return builder.build(t)
if not vars.TARGET: