From b27a6f47107a848372a9863134e933c6d5ab7598 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Mon, 5 Jan 2009 15:32:26 +0000 Subject: abuild: try break circular dependencies --- abuild | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/abuild b/abuild index 01cbcb6..1cba15d 100755 --- a/abuild +++ b/abuild @@ -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 -- cgit v1.2.3-70-g09d2