abuild: minor bugfix

This commit is contained in:
Natanael Copa 2009-07-24 14:56:28 +00:00
parent 28b7f5d2b1
commit fad6df6eaf

View File

@ -741,7 +741,8 @@ builddeps() {
# find dependencies that are installed but missing in repo.
for i in $deps; do
if [ -z "$(apk search --repo "$apkcache" $i)" ]; then
local m=$(apk search --repo "$apkcache" $i)
if [ -z "$m" ]; then
missing="$missing $i"
fi
done