copy langpack files to stagedir on mac, remove en-US files from stagedir before pushing. (granrose)

This commit is contained in:
cltbld 2004-10-20 22:07:46 +00:00
Родитель 3892ae81b0
Коммит d4cef522f7
1 изменённых файлов: 6 добавлений и 0 удалений

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

@ -406,6 +406,9 @@ sub packit_l10n {
system("mkdir -p $package_location");
system("mkdir -p $stagedir");
run_locale_shell_command "cp $package_location/../*$locale*.dmg.gz $stagedir/";
if ($tinderstatus eq 'success') {
run_locale_shell_command "cp $package_location/*$locale.langpack.xpi $stagedir/";
}
} else {
my $archive_loc = "$package_location/..";
if ($Settings::package_creation_path eq "/xpinstall/packager") {
@ -434,6 +437,9 @@ sub packit_l10n {
} # foreach
# remove en-US since we're building that on a different system
run_locale_shell_command "rm -f $stagedir/*en-US*";
TinderUtils::print_log "locales completed.\n";
# need to reverse status, since it's a "unix" truth value, where 0 means