summaryrefslogtreecommitdiff
path: root/abuild.in
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2024-06-06 05:18:50 -0500
committerZach van Rijn <me@zv.io>2024-06-06 13:56:04 +0000
commit5453a857ad46d5dd80e843f1efa53ae3bd886a16 (patch)
tree85d8bb5d8c5ec06e4a04e84d716692015d047d87 /abuild.in
parent2f9a16cfc33b0397f796fea70be1f92dd8c58b32 (diff)
downloadabuild-5453a857ad46d5dd80e843f1efa53ae3bd886a16.tar.gz
abuild-5453a857ad46d5dd80e843f1efa53ae3bd886a16.tar.bz2
abuild-5453a857ad46d5dd80e843f1efa53ae3bd886a16.tar.xz
abuild-5453a857ad46d5dd80e843f1efa53ae3bd886a16.zip
abuild: Pass --latest to `apk add`
Closes: #1
Diffstat (limited to 'abuild.in')
-rw-r--r--abuild.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/abuild.in b/abuild.in
index 0efe7d9..1d5923a 100644
--- a/abuild.in
+++ b/abuild.in
@@ -2368,13 +2368,13 @@ deps() {
local _quiet="$1"
[ -z "$_quiet" ] && msg "Installing for build:$builddeps"
- $SUDO_APK add $_quiet $apk_opt_wait --repository "$REPODEST/$repo" \
+ $SUDO_APK add --latest $_quiet $apk_opt_wait --repository "$REPODEST/$repo" \
--virtual .makedepends-$pkgname \
$builddeps \
|| return 1
if [ -n "$CBUILDROOT" ]; then
[ -z "$_quiet" ] && msg "Installing for host:$hostdeps"
- $SUDO_APK add $_quiet --root "$CBUILDROOT" --arch "$CTARGET_ARCH" --repository "$REPODEST/$repo" $apk_opt_wait \
+ $SUDO_APK add --latest $_quiet --root "$CBUILDROOT" --arch "$CTARGET_ARCH" --repository "$REPODEST/$repo" $apk_opt_wait \
--no-scripts --virtual .makedepends-$pkgname $hostdeps || return 1
fi
}