From: Don Armstrong Date: Thu, 21 Jun 2007 14:34:38 +0000 (+0100) Subject: split $cgi_var{package} on , before feeding to makesourceversions X-Git-Tag: release/2.6.0~538^2~5 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=88a001b03b9065c1dfc6a027e1476fe1a55697e9;p=debbugs.git split $cgi_var{package} on , before feeding to makesourceversions --- diff --git a/cgi/version.cgi b/cgi/version.cgi index b5967be..294f102 100755 --- a/cgi/version.cgi +++ b/cgi/version.cgi @@ -103,8 +103,8 @@ END # then figure out which are affected. # turn found and fixed into full versions -@{$cgi_var{found}} = makesourceversions($cgi_var{package},undef,@{$cgi_var{found}}); -@{$cgi_var{fixed}} = makesourceversions($cgi_var{package},undef,@{$cgi_var{fixed}}); +@{$cgi_var{found}} = map {makesourceversions($_,undef,@{$cgi_var{found}})} split/\s*,\s*/, $cgi_var{package}; +@{$cgi_var{fixed}} = map {makesourceversions($_,undef,@{$cgi_var{fixed}})} split/\s*,\s*/, $cgi_var{package}; my @interesting_versions = makesourceversions($cgi_var{package},undef,keys %version_to_dist); # We need to be able to rip out leaves which the versions that do not affect the current versions of unstable/testing