diff options
Diffstat (limited to 'src/package.c')
-rw-r--r-- | src/package.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/package.c b/src/package.c index ca172e9..71d1023 100644 --- a/src/package.c +++ b/src/package.c @@ -1214,8 +1214,11 @@ static void foreach_reverse_dependency( pkg0->foreach_genid = genid; } foreach_array_item(d0, pkg0->depends) { - if (apk_dep_analyze(d0, pkg) & match) + if (apk_dep_analyze(d0, pkg) & match) { cb(pkg0, d0, pkg, ctx); + if (genid) + break; + } } } } |