summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-01-03 15:02:19 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-01-03 15:02:19 +0000
commita83cdde5108251844e127b7c21db8f63bf398ce2 (patch)
tree1d7f7ea115b25ef9f5c70e1c122afcba84e15d62
parent1fb46b92aae5bdf0355b420cdd7eb930c6c7e116 (diff)
downloadabuild-a83cdde5108251844e127b7c21db8f63bf398ce2.tar.gz
abuild-a83cdde5108251844e127b7c21db8f63bf398ce2.tar.bz2
abuild-a83cdde5108251844e127b7c21db8f63bf398ce2.tar.xz
abuild-a83cdde5108251844e127b7c21db8f63bf398ce2.zip
abuild: only install .makdepends-* if there are deps
-rwxr-xr-xabuild.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/abuild.in b/abuild.in
index db955f3..20f22df 100755
--- a/abuild.in
+++ b/abuild.in
@@ -969,7 +969,7 @@ builddeps() {
fi
uninstall_after=".makedepends-$pkgname $uninstall_after"
- if [ -n "$install_deps" ] && [ -z "$recursive" ]; then
+ if [ -n "$install_deps" ] && [ -z "$recursive" ] && [ -n "$deps" ]; then
# make a --simluate run first to detect missing deps
# apk-tools --virtual is no goot at reporting those.
$SUDO $APK add --repository "$abuildrepo" \