From: mkanat%bugzilla.org <> Date: Sat, 6 Oct 2007 03:55:19 +0000 (+0000) Subject: Bug 398798: checksetup.pl 'commands to install' should quote Perl module names X-Git-Tag: bugzilla-3.0.3~34 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=451bd770bcda4a9d7d2b3af1d9129845f1faf55d;p=thirdparty%2Fbugzilla.git Bug 398798: checksetup.pl 'commands to install' should quote Perl module names Patch By Max Kanat-Alexander r=LpSolit, a=mkanat --- diff --git a/Bugzilla/Install/Requirements.pm b/Bugzilla/Install/Requirements.pm index 43cdaf7ec1..430df7284a 100644 --- a/Bugzilla/Install/Requirements.pm +++ b/Bugzilla/Install/Requirements.pm @@ -585,7 +585,7 @@ sub install_command { $package = $module->{package}; } else { - $command = "$^X -MCPAN -e 'install \%s'"; + $command = "$^X -MCPAN -e 'install \"\%s\"'"; # Non-Windows installations need to use module names, because # CPAN doesn't understand package names. $package = $module->{module};