From 7843348d06f11e12c161c5f1abf354e5da52e774 Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" Date: Fri, 5 Oct 2007 22:54:30 +0000 Subject: [PATCH] Bug 398798: checksetup.pl 'commands to install' should quote Perl module names Patch By Max Kanat-Alexander r=LpSolit, a=mkanat --- webtools/bugzilla/Bugzilla/Install/Requirements.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webtools/bugzilla/Bugzilla/Install/Requirements.pm b/webtools/bugzilla/Bugzilla/Install/Requirements.pm index 305c0843a76..885c407ee61 100644 --- a/webtools/bugzilla/Bugzilla/Install/Requirements.pm +++ b/webtools/bugzilla/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};