From 2d4617dc60655d9917010f6ac0599a9aa3824741 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Fri, 21 Dec 2018 16:14:20 -0500 Subject: [PATCH] Use apk search -x to identify previous version --- sr.ht/buildall.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sr.ht/buildall.yml b/sr.ht/buildall.yml index 9456a95..f0a40e0 100644 --- a/sr.ht/buildall.yml +++ b/sr.ht/buildall.yml @@ -68,7 +68,7 @@ tasks: do cd "$package" pkgver="$(get_pkgvar pkgver)" - prev_pkgver=$(apk search "$package" | cut -c$((${#package}+2))-) + prev_pkgver=$(apk search -x "$package" | cut -c$((${#package}+2))-) prev_pkgrel=$(printf "%s" "$prev_pkgver" | cut -d'-' -f2 | cut -d'r' -f2) if [ "$prev_pkgver" != "$pkgver" ] then -- 2.45.2