diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-01-05 15:32:26 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-01-05 15:32:26 +0000 |
commit | b27a6f47107a848372a9863134e933c6d5ab7598 (patch) | |
tree | 02152b10cd52a399f3af26aa453ab7c8617789e2 | |
parent | 1430275df6431cb9e0e83a1015e1bc64c459ddf4 (diff) | |
download | abuild-b27a6f47107a848372a9863134e933c6d5ab7598.tar.gz abuild-b27a6f47107a848372a9863134e933c6d5ab7598.tar.bz2 abuild-b27a6f47107a848372a9863134e933c6d5ab7598.tar.xz abuild-b27a6f47107a848372a9863134e933c6d5ab7598.zip |
abuild: try break circular dependencies
-rwxr-xr-x | abuild | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |