abuild: only install .makdepends-* if there are deps

This commit is contained in:
Natanael Copa 2011-01-03 15:02:19 +00:00
parent 1fb46b92aa
commit a83cdde510
1 changed files with 1 additions and 1 deletions

View File

@ -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" \