bug 408868: teach verify-locales about tar.bz2 and betas - make bootstrap use the new verify-locales.pl syntax. r=cf, patch=me

This commit is contained in:
bhearsum@mozilla.com 2007-12-21 11:21:44 -08:00
parent 2a396929ca
commit 728f308b50

View File

@ -435,6 +435,9 @@ sub Verify {
my $stageHome = $config->Get(var => 'stageHome');
my $productTag = $config->Get(var => 'productTag');
my $mozillaCvsroot = $config->Get(var => 'mozillaCvsroot');
my $useTarGz = $config->Exists(var => 'useTarGz') ?
$config->Get(var => 'useTarGz') : 0;
my $linuxExtension = ($useTarGz) ? 'gz' : 'bz2';
## Prepare the staging directory for the release.
# Create the staging directory.
@ -457,7 +460,7 @@ sub Verify {
$this->Shell(
cmd => catfile($stageHome, 'bin', 'verify-locales.pl'),
cmdArgs => ['-m', catfile($stageDir, 'batch1', 'config',
'shipped-locales')],
'shipped-locales'), '-l', $linuxExtension],
logFile => catfile($logDir, 'stage_verify_l10n.log'),
dir => catfile($stageDir, 'batch1', 'stage-signed'),
);