abuild: fix for abuild -R

we only enter dependencies dirs in same repo
This commit is contained in:
Natanael Copa 2010-05-04 08:28:13 +00:00
parent 36d446263c
commit f4e9b5d3a9
1 changed files with 4 additions and 2 deletions

View File

@ -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 \