зеркало из https://github.com/mozilla/gecko-dev.git
Revert previous change to keep make command so it is called only in sea
and stub installer builds. Add similar make command for use on Mac localizations. (cmp)
This commit is contained in:
Родитель
c12ca1fee7
Коммит
fe4408d506
|
@ -358,9 +358,13 @@ sub packit_l10n {
|
|||
}
|
||||
|
||||
# the one operation we care about saving status of
|
||||
$status = run_locale_shell_command "$Settings::Make -C $objdir/browser/locales installers-$locale";
|
||||
if ($status != 0) {
|
||||
$tinderstatus = 'busted';
|
||||
if ($Settings::sea_installer || $Settings::stub_installer) {
|
||||
$status = run_locale_shell_command "$Settings::Make -C $objdir/browser/locales installers-$locale";
|
||||
if ($status != 0) {
|
||||
$tinderstatus = 'busted';
|
||||
}
|
||||
} else {
|
||||
$status = 0;
|
||||
}
|
||||
|
||||
if ($tinderstatus eq 'success') {
|
||||
|
@ -395,6 +399,10 @@ sub packit_l10n {
|
|||
if (is_windows()) {
|
||||
run_locale_shell_command "cp $package_location/../*$locale*.zip $stagedir/";
|
||||
} elsif (is_mac()) {
|
||||
$status = run_locale_shell_command "$Settings::Make -C $objdir/browser/locales installers-$locale";
|
||||
if ($status != 0) {
|
||||
$tinderstatus = 'busted';
|
||||
}
|
||||
system("mkdir -p $package_location");
|
||||
system("mkdir -p $stagedir");
|
||||
run_locale_shell_command "cp $package_location/../*$locale*.dmg.gz $stagedir/";
|
||||
|
|
Загрузка…
Ссылка в новой задаче