bug 355465 - Make tinderbox more flexible with where it reports l10n packaging status. r=preed

This commit is contained in:
mattwillis%gmail.com 2007-02-03 03:07:58 +00:00
parent da7c921433
commit 970340d5ce
2 changed files with 19 additions and 2 deletions

View File

@ -907,8 +907,13 @@ sub packit_l10n {
} # foreach
# remove en-US files since we're building that on a different system
TinderUtils::run_shell_command("rm -f $stagedir/*en-US* $stagedir/*-xpi");
# remove en-US files if directed so we don't overwrite them on upload.
if ($Settings::DeleteEnUsOnLocalesUpload) {
my $rv = unlink(glob("${stagedir}/*en-US*"), glob("${stagedir}/*-xpi"));
if (! $rv) {
die ("Couldn't delete en-US!");
}
}
TinderUtils::print_log("locales completed.\n");

View File

@ -180,6 +180,18 @@ $BuildSleep = 10;
#- change to the tree you're actually building
$BuildTree = 'MozillaTest';
#- If you're building locales and would like locale messages reported to a
#- tree other than $BuildTree-ab-CD, define the tree here. -ab-CD will be
#- appended for you.
#$LocaleTree = '';
#- By default, locale builds delete the wget-ed en-US build from the local
#- stage directory before rsyncing the freshly baked l10n builds up to the
#- FTP server. This prevents the rsync from accidentally overwriting the
#- already existing en-US build on the FTP server. This behaviour is most
#- useful when building en-US and the other locales on different machines.
$DeleteEnUsOnLocalesUpload = 1;
$BuildName = '';
$BuildTag = '';
$BuildConfigDir = 'mozilla/config';