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:
cltbld 2004-10-20 21:49:41 +00:00
Родитель c12ca1fee7
Коммит fe4408d506
1 изменённых файлов: 11 добавлений и 3 удалений

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

@ -358,10 +358,14 @@ sub packit_l10n {
}
# the one operation we care about saving status of
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') {
run_locale_shell_command "cp $package_location/*$locale.langpack.xpi $stagedir/";
@ -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/";