summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-07-24 14:56:28 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-07-24 14:56:28 +0000
commitfad6df6eaf7b0c055ad2980330ececb1ab3f3af6 (patch)
tree9fb03479aaf8aede80671c7de8606ea93caf3179
parent28b7f5d2b11f20390e6e7da46a3e97cd11e06a9e (diff)
downloadabuild-fad6df6eaf7b0c055ad2980330ececb1ab3f3af6.tar.gz
abuild-fad6df6eaf7b0c055ad2980330ececb1ab3f3af6.tar.bz2
abuild-fad6df6eaf7b0c055ad2980330ececb1ab3f3af6.tar.xz
abuild-fad6df6eaf7b0c055ad2980330ececb1ab3f3af6.zip
abuild: minor bugfix
-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