X-Git-Url: https://ruderich.org/simon/gitweb/?p=blhc%2Fblhc.git;a=blobdiff_plain;f=bin%2Fblhc;h=e602106b5fd8f6d0140634cf517f21e67471a6f8;hp=3839ec90d296cbecc401e0677a393d81b62a61e8;hb=7e0037c0788371d6911d2dae5e919bd1b963aedb;hpb=bd2f117db6034fc6b1ad2a95ba8009c2915978d5 diff --git a/bin/blhc b/bin/blhc index 3839ec9..e602106 100755 --- a/bin/blhc +++ b/bin/blhc @@ -370,6 +370,10 @@ while (my $line = <>) { # false positives. $start = 1 if $line =~ /^dpkg-buildpackage:/; next if not $start; + # And stop at the end of the build log. Package details (reported by the + # buildd logs) are not important for us. This also prevents false + # positives. + last if $line =~ /^Build finished at \d{8}-\d{4}$/; # Detect architecture automatically unless overridden. if (not $option_arch