stop getting bad timings from erroneous builds.
This commit is contained in:
parent
4c6bac710e
commit
7b925859cf
@ -1,7 +1,7 @@
|
||||
#! /usr/bin/perl
|
||||
|
||||
# ex:ts=8 sw=4:
|
||||
# $OpenBSD: dpb,v 1.30 2011/11/14 21:59:45 espie Exp $
|
||||
# $OpenBSD: dpb,v 1.31 2011/11/26 11:46:15 espie Exp $
|
||||
#
|
||||
# Copyright (c) 2010 Marc Espie <espie@openbsd.org>
|
||||
#
|
||||
@ -260,8 +260,9 @@ sub parse_build_file
|
||||
my $_;
|
||||
while (<$fh>) {
|
||||
chomp;
|
||||
next if $_ =~ m/!$/;
|
||||
my ($pkgpath, $host, $time, $sz, @rest) = parse_build_line($_);
|
||||
next if (!defined $sz) || $sz =~ m/!$/;
|
||||
next if !defined $sz;
|
||||
my $o = DPB::PkgPath->new($pkgpath);
|
||||
for my $c (@consumers) {
|
||||
$c->add_build_info($o, $host, $time, $sz);
|
||||
|
Loading…
Reference in New Issue
Block a user