summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Install/Requirements.pm
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2007-10-06 05:54:30 +0200
committermkanat%bugzilla.org <>2007-10-06 05:54:30 +0200
commitb43eb27e0c2d1f3a5d486ab3d65c2102966600ed (patch)
tree86596b431bcef03c7545323b8edc98aacb7ca4bc /Bugzilla/Install/Requirements.pm
parent27eb4b5c77ef844c49b14187871a000890c2b17e (diff)
downloadbugzilla-b43eb27e0c2d1f3a5d486ab3d65c2102966600ed.tar.gz
bugzilla-b43eb27e0c2d1f3a5d486ab3d65c2102966600ed.tar.xz
Bug 398798: checksetup.pl 'commands to install' should quote Perl module names
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=mkanat
Diffstat (limited to 'Bugzilla/Install/Requirements.pm')
-rw-r--r--Bugzilla/Install/Requirements.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Install/Requirements.pm b/Bugzilla/Install/Requirements.pm
index 305c0843a..885c407ee 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};