From 130df9a3bc190a3c42da6c895fc5494a74d5b557 Mon Sep 17 00:00:00 2001 From: espie Date: Tue, 25 Dec 2012 09:31:54 +0000 Subject: [PATCH] will work better with a non-reversed test... --- infrastructure/lib/DPB/Engine.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/infrastructure/lib/DPB/Engine.pm b/infrastructure/lib/DPB/Engine.pm index c204cfc3c26..a0a910cc99c 100644 --- a/infrastructure/lib/DPB/Engine.pm +++ b/infrastructure/lib/DPB/Engine.pm @@ -1,5 +1,5 @@ # ex:ts=8 sw=4: -# $OpenBSD: Engine.pm,v 1.53 2012/12/24 17:24:46 espie Exp $ +# $OpenBSD: Engine.pm,v 1.54 2012/12/25 09:31:54 espie Exp $ # # Copyright (c) 2010 Marc Espie # @@ -266,7 +266,7 @@ sub is_done my ($self, $v) = @_; if ($self->{builder}->check($v)) { for my $w ($v->build_path_list) { - next unless $v eq $w; + next if $v eq $w; next unless $self->{builder}->check($w); $self->mark_as_done($w); }