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