summaryrefslogtreecommitdiff
path: root/abuild.in
diff options
context:
space:
mode:
Diffstat (limited to 'abuild.in')
-rwxr-xr-xabuild.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/abuild.in b/abuild.in
index d4b0a0f..f6f238b 100755
--- a/abuild.in
+++ b/abuild.in
@@ -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