Changeset 545 for devel/pb/bin/pb


Ignore:
Timestamp:
Sep 17, 2008, 12:30:59 AM (11 years ago)
Author:
Bruno Cornec
Message:

New Debian fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/pb/bin/pb

    r544 r545  
    811811                chomp();
    812812                my $tmp = $_;
    813                 next if ($tmp !~ /^dpkg-deb :/);
     813                next if ($tmp !~ /^dpkg-deb.:/);
    814814                $tmp =~ s|.*../(.*)_(.*).deb.*|$1|;
    815815                $made="$made $tmp.dsc $tmp.tar.gz $tmp"."_*.deb $tmp"."_*.changes";
     
    890890    } elsif ($dtype eq "deb") {
    891891        if (-f "/usr/bin/lintian") {
    892             pb_system("lintian $made","Checking validity of debs with lintian","verbose");
     892            my $made2 = "";
     893            foreach my $f (split(/ /,$made)) {
     894                $made2 .= "$f " if ($f =~ /\.changes$/);
     895            }
     896            pb_system("lintian $made2","Checking validity of debs with lintian","verbose");
    893897        }
    894898    } else {
Note: See TracChangeset for help on using the changeset viewer.