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

git-svn-id: svn://10.0.0.236/trunk@165230 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
cltbld 2004-11-10 22:19:10 +00:00
parent 78d1fa8035
commit b1d4e7db91

View File

@ -368,7 +368,13 @@ sub packit_l10n {
}
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()) {