From: mkanat%bugzilla.org <> Date: Sat, 6 Oct 2007 03:54:30 +0000 (+0000) Subject: Bug 398798: checksetup.pl 'commands to install' should quote Perl module names X-Git-Tag: bugzilla-3.1.3~519 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b43eb27e0c2d1f3a5d486ab3d65c2102966600ed;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 305c0843a7..885c407ee6 100644 --- a/Bugzilla/Install/Requirements.pm +++ b/Bugzilla/Install/Requirements.pm @@ -530,7 +530,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};