]> 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:54:30 +0000 (03:54 +0000)
committermkanat%bugzilla.org <>
Sat, 6 Oct 2007 03:54:30 +0000 (03:54 +0000)
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=mkanat

Bugzilla/Install/Requirements.pm

index 305c0843a76070eb56f0e7d0ae87530994343ba0..885c407ee6123d2f978cb9a46a88befa2b5048e6 100644 (file)
@@ -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};