abuild: fix for detecting self-provided dependencies

This commit is contained in:
Natanael Copa 2009-06-03 20:20:59 +00:00
parent 981c484766
commit 5b00cca758

View File

@ -403,8 +403,8 @@ trace_apk_deps() {
# first check if its provide by same apkbuild
for j in "$dir"/../*/.provides-so; do
grep -w "$i" "$j" >/dev/null || continue
found=${found%/.*}
found=${j##*/}
found=${found%/*}
break
done
# check apk db if not provided by a subpackage