mirror of
https://gitlab.alpinelinux.org/alpine/abuild.git
synced 2025-02-18 20:47:01 +00:00
abuild: only install .makdepends-* if there are deps
This commit is contained in:
parent
1fb46b92aa
commit
a83cdde510
@ -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" \
|
||||
|
Loading…
Reference in New Issue
Block a user