Skip to content

Commit

Permalink
productcompose: fix merging deps via "add" operation
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianschroeter committed Jan 10, 2024
1 parent 6194a36 commit 6a127a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Build/ProductCompose.pm
Original file line number Diff line number Diff line change
Expand Up @@ -92,15 +92,15 @@ sub get_pkgset {
push @seenps, $s;
my $pkgset = $s->{'packages'} || [];
for my $n (@{$s->{'add'} || []}) {
$pkgset = add_pkgset($pkgset, get_pkgset(\@seenps, $n, $arch, $flavor));
$pkgset = add_pkgset($pkgset, get_pkgset($packagesets, $n, $arch, $flavor));
}
for my $n (@{$s->{'sub'} || []}) {
$pkgset = sub_pkgset($pkgset, get_pkgset(\@seenps, $n, $arch, $flavor));
}
for my $n (@{$s->{'intersect'} || []}) {
$pkgset = intersect_pkgset($pkgset, get_pkgset(\@seenps, $n, $arch, $flavor));
}
return $pkgset
return $pkgset;
}
return [];
}
Expand Down

0 comments on commit 6a127a0

Please sign in to comment.