abuild: fix for abuild -R
we only enter dependencies dirs in same repo
This commit is contained in:
parent
36d446263c
commit
f4e9b5d3a9
|
@ -851,8 +851,10 @@ builddeps() {
|
|||
# i = pkg:dir
|
||||
local dir=${i#*:}
|
||||
local pkg=${i%:*}
|
||||
msg "Entering $dir"
|
||||
cd "$dir" && $0 -k -r apkcache || return 1
|
||||
if [ -d "$dir" ]; then
|
||||
msg "Entering $dir"
|
||||
cd "$dir" && $0 -k -r apkcache || return 1
|
||||
fi
|
||||
done
|
||||
$SUDO apk add -u --repository "$apkcache" \
|
||||
--wait 30 \
|
||||
|
|
Loading…
Reference in New Issue