[tor-commits] [tor-browser-bundle/master] Bug 14992: regenerate existing incremental MAR files
boklm at torproject.org
boklm at torproject.org
Mon Mar 9 19:53:10 UTC 2015
commit 010d6f55a4060b0dbb8e0c779f857bb35fbf0f36
Author: Nicolas Vigier <boklm at torproject.org>
Date: Mon Mar 9 19:50:27 2015 +0100
Bug 14992: regenerate existing incremental MAR files
---
tools/update-responses/update_responses | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/tools/update-responses/update_responses b/tools/update-responses/update_responses
index f982637..8b8c217 100755
--- a/tools/update-responses/update_responses
+++ b/tools/update-responses/update_responses
@@ -168,7 +168,7 @@ sub create_incremental_mar {
$pm->finish;
}
-sub create_missing_incremental_mars_for_version {
+sub create_incremental_mars_for_version {
my ($config, $version) = @_;
my $pm = Parallel::ForkManager->new(get_nbprocs);
$pm->run_on_finish(sub { $_[2]->(@_) });
@@ -179,7 +179,6 @@ sub create_missing_incremental_mars_for_version {
my $from_v = $config->{versions}{$from_version};
foreach my $os (keys %{$v->{files}}) {
foreach my $lang (keys %{$v->{files}{$os}}) {
- next if defined $v->{files}{$os}{$lang}{partial}{$from_version};
next unless defined $from_v->{files}{$os}{$lang}{complete};
create_incremental_mar($config, $pm, $from_version, $version, $os, $lang);
}
@@ -451,7 +450,7 @@ my %actions = (
check_deps;
foreach my $version (channel_to_version($config, @ARGV)) {
get_version_files($config, $version);
- create_missing_incremental_mars_for_version($config, $version);
+ create_incremental_mars_for_version($config, $version);
}
},
check_update_responses_deployement => \&check_update_responses,
More information about the tor-commits
mailing list