abuild: try break circular dependencies

This commit is contained in:
Natanael Copa 2009-01-05 15:32:26 +00:00
parent 1430275df6
commit b27a6f4710
1 changed files with 5 additions and 0 deletions

5
abuild
View File

@ -474,6 +474,11 @@ builddeps() {
# i = pkg:dir
local dir=${i#*:}
local pkg=${i%:*}
# break circular deps
[ $(realpath "$dir") = $(realpath "${APKBUILD%/*}") ] \
&& continue
msg "Entering $dir"
cd "$dir" || return 1
$0 -i $pkg || return 1