Place language pack XPIs in platform-specific XPI directories. (cmp)

This commit is contained in:
cltbld 2004-11-10 22:19:10 +00:00
parent 0d96026257
commit aa2708957a

View File

@ -368,7 +368,13 @@ sub packit_l10n {
} }
if ($tinderstatus eq 'success') { if ($tinderstatus eq 'success') {
run_locale_shell_command "cp $package_location/*$locale.langpack.xpi $stagedir/"; if (is_windows()) {
run_locale_shell_command "mkdir -p $stagedir/windows-xpi/";
run_locale_shell_command "cp $package_location/*$locale.langpack.xpi $stagedir/windows-xpi/$locale.xpi";
} elsif (is_linux()) {
run_locale_shell_command "mkdir -p $stagedir/linux-xpi/";
run_locale_shell_command "cp $package_location/*$locale.langpack.xpi $stagedir/linux-xpi/$locale.xpi";
}
} }
if (is_windows()) { if (is_windows()) {