diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-01-03 15:02:19 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-01-03 15:02:19 +0000 |
commit | a83cdde5108251844e127b7c21db8f63bf398ce2 (patch) | |
tree | 1d7f7ea115b25ef9f5c70e1c122afcba84e15d62 | |
parent | 1fb46b92aae5bdf0355b420cdd7eb930c6c7e116 (diff) | |
download | abuild-a83cdde5108251844e127b7c21db8f63bf398ce2.tar.gz abuild-a83cdde5108251844e127b7c21db8f63bf398ce2.tar.bz2 abuild-a83cdde5108251844e127b7c21db8f63bf398ce2.tar.xz abuild-a83cdde5108251844e127b7c21db8f63bf398ce2.zip |
abuild: only install .makdepends-* if there are deps
-rwxr-xr-x | abuild.in | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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" \ |