Skip to content

Commit

Permalink
[backend] aggregates: don't copy from ourselfs
Browse files Browse the repository at this point in the history
  • Loading branch information
mlschroe committed Aug 21, 2012
1 parent 37b8f66 commit 0d785dc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/backend/bs_sched
Expand Up @@ -4149,6 +4149,7 @@ sub checkaggregate {
$m .= "$binary->{'filename'}\0$binary->{'mtime'}/$binary->{'size'}/0\0";
}
} else {
next if $aprojid eq $projid && $arepoid eq $repoid && $apackid eq $packid;
my $d = "$reporoot/$aprojid/$arepoid/$myarch/$apackid";
my @d = grep {$_ eq 'updateinfo.xml' || /\.(?:$binsufsre)$/} ls($d);
for my $b (sort @d) {
Expand Down Expand Up @@ -4264,6 +4265,7 @@ sub rebuildaggregate {
push @d, "$jobdatadir/$bin->{'name'}";
}
} else {
next if $aprojid eq $projid && $arepoid eq $repoid && $apackid eq $packid;
my $d = "$reporoot/$aprojid/$arepoid/$myarch/$apackid";
$updateinfo = "$d/updateinfo.xml" if -f "$d/updateinfo.xml";
@d = grep {/\.(?:$binsufsre)$/} ls($d);
Expand Down

0 comments on commit 0d785dc

Please sign in to comment.