From 88a001b03b9065c1dfc6a027e1476fe1a55697e9 Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Thu, 21 Jun 2007 15:34:38 +0100 Subject: [PATCH] split $cgi_var{package} on , before feeding to makesourceversions --- cgi/version.cgi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.2