Commit b43eb27e authored by mkanat%bugzilla.org's avatar mkanat%bugzilla.org

Bug 398798: checksetup.pl 'commands to install' should quote Perl module names

Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=mkanat
parent 27eb4b5c
...@@ -530,7 +530,7 @@ sub install_command { ...@@ -530,7 +530,7 @@ sub install_command {
$package = $module->{package}; $package = $module->{package};
} }
else { else {
$command = "$^X -MCPAN -e 'install \%s'"; $command = "$^X -MCPAN -e 'install \"\%s\"'";
# Non-Windows installations need to use module names, because # Non-Windows installations need to use module names, because
# CPAN doesn't understand package names. # CPAN doesn't understand package names.
$package = $module->{module}; $package = $module->{module};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment