From 5b00cca758b2fd52dc9fd2c76666ffb1ff2167b7 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Wed, 3 Jun 2009 20:20:59 +0000 Subject: [PATCH] abuild: fix for detecting self-provided dependencies --- abuild.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/abuild.in b/abuild.in index 6f6ff45..cbecfa4 100755 --- a/abuild.in +++ b/abuild.in @@ -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