]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 398798: checksetup.pl 'commands to install' should quote Perl module names
authormkanat%bugzilla.org <>
Sat, 6 Oct 2007 03:55:19 +0000 (03:55 +0000)
committermkanat%bugzilla.org <>
Sat, 6 Oct 2007 03:55:19 +0000 (03:55 +0000)
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=mkanat

Bugzilla/Install/Requirements.pm

index 43cdaf7ec18ce5c58d476077feff077518601015..430df7284a2d10aaf9ed6a405f07dbc713b39c8c 100644 (file)
@@ -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};