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

Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=mkanat
This commit is contained in:
mkanat%bugzilla.org 2007-10-05 22:54:30 +00:00
Родитель e2a1dfb375
Коммит 7843348d06
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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};