зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
e2a1dfb375
Коммит
7843348d06
|
@ -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};
|
||||||
|
|
Загрузка…
Ссылка в новой задаче