Skip to content
Snippets Groups Projects
Commit 501e5dc8 authored by Natanael Copa's avatar Natanael Copa
Browse files

abuild: upgrade dependencies when building recursive

parent e58a5334
No related branches found
No related tags found
No related merge requests found
......@@ -709,7 +709,7 @@ builddeps() {
&& return 0
uninstall_after=".makedepends-$pkgname $uninstall_after"
if [ -n "$install_deps" ]; then
if [ -n "$install_deps" ] && [ -z "$recursive" ]; then
$SUDO apk add --repo "$apkcache" \
--virtual .makedepends-$pkgname $deps \
&& return 0
......@@ -724,7 +724,7 @@ builddeps() {
msg "Entering $dir"
cd "$dir" && $0 -k -r apkcache || return 1
done
$SUDO apk add --repo "$apkcache" \
$SUDO apk add --repo -u "$apkcache" \
--virtual .makedepends-$pkgname $deps
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment