abuild: try break circular dependencies
This commit is contained in:
parent
1430275df6
commit
b27a6f4710
5
abuild
5
abuild
@ -474,6 +474,11 @@ builddeps() {
|
|||||||
# i = pkg:dir
|
# i = pkg:dir
|
||||||
local dir=${i#*:}
|
local dir=${i#*:}
|
||||||
local pkg=${i%:*}
|
local pkg=${i%:*}
|
||||||
|
|
||||||
|
# break circular deps
|
||||||
|
[ $(realpath "$dir") = $(realpath "${APKBUILD%/*}") ] \
|
||||||
|
&& continue
|
||||||
|
|
||||||
msg "Entering $dir"
|
msg "Entering $dir"
|
||||||
cd "$dir" || return 1
|
cd "$dir" || return 1
|
||||||
$0 -i $pkg || return 1
|
$0 -i $pkg || return 1
|
||||||
|
Reference in New Issue
Block a user