Skip to content

Commit

Permalink
[backend] complete last fix
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianschroeter committed Dec 5, 2011
1 parent 625e5d6 commit 5145e8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/bs_srcserver
Original file line number Diff line number Diff line change
Expand Up @@ -1303,6 +1303,7 @@ sub handlelinks {
while ($files->{'_link'}) {
my $l = repreadxml($lrev, '_link', $files->{'_link'}, $BSXML::link, 1);
return '_link is bad' unless $l;
my $cicount = $l->{'cicount'} || 'add';
eval {
BSVerify::verify_link($l);
die("illegal cicount\n") unless $cicount eq 'copy' || $cicount eq 'add' || $cicount eq 'local';
Expand Down Expand Up @@ -1345,7 +1346,6 @@ sub handlelinks {
$files = lsrev($lrev);
};
return 'linked package is not in repository' unless $files;
my $cicount = $l->{'cicount'} || 'add';
if ($cicount eq 'copy') {
$rev->{'vrev'} -= $vrev unless $vrevdone;
} elsif ($cicount eq 'local') {
Expand Down

0 comments on commit 5145e8d

Please sign in to comment.