Commit f4e9b5d3 authored by Natanael Copa's avatar Natanael Copa

abuild: fix for abuild -R

we only enter dependencies dirs in same repo
parent 36d44626
......@@ -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 \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment