diff --git a/tools/which_deb b/tools/which_deb index 6078d6b6..7363b386 100755 --- a/tools/which_deb +++ b/tools/which_deb @@ -123,14 +123,12 @@ sub grab_src_info { } while (defined($match = )) { if (($match =~ /^Package: \Q$pkgname\E$/m)) { - $result = $match; - close PFILE; - return $result; + $result = "$result" . $match; } } close PFILE; } - return ""; + return $result; } my $bin_deb = "";