When we have more than one source version, list all the sources rather than just the first version

This commit is contained in:
Steve McIntyre 2017-10-20 23:26:28 +01:00
parent 279c304f89
commit 078be0016d
1 changed files with 2 additions and 4 deletions

View File

@ -123,14 +123,12 @@ sub grab_src_info {
} }
while (defined($match = <PFILE>)) { while (defined($match = <PFILE>)) {
if (($match =~ /^Package: \Q$pkgname\E$/m)) { if (($match =~ /^Package: \Q$pkgname\E$/m)) {
$result = $match; $result = "$result" . $match;
close PFILE;
return $result;
} }
} }
close PFILE; close PFILE;
} }
return ""; return $result;
} }
my $bin_deb = ""; my $bin_deb = "";