25 lines
977 B
Diff
25 lines
977 B
Diff
From bc6f00bf2734cf900b456c505ae59e70bfb7bdbd Mon Sep 17 00:00:00 2001
|
|
From: "build@apk-groulx" <build@apk-groulx.praxis>
|
|
Date: Thu, 3 Jun 2021 18:19:15 +0000
|
|
Subject: [PATCH] Fix last version digit present on alpine non-portable build
|
|
|
|
---
|
|
eng/native/init-distro-rid.sh | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/eng/native/init-distro-rid.sh b/eng/native/init-distro-rid.sh
|
|
index f71aa8640b1..bef677c77d4 100644
|
|
--- a/eng/native/init-distro-rid.sh
|
|
+++ b/eng/native/init-distro-rid.sh
|
|
@@ -41,7 +41,7 @@ initNonPortableDistroRid()
|
|
# We have forced __PortableBuild=0. This is because -portablebuld
|
|
# has been passed as false.
|
|
if (( isPortable == 0 )); then
|
|
- if [ "${ID}" = "rhel" ]; then
|
|
+ if [ "${ID}" = "rhel" ] || [ "${ID}" = "alpine" ]; then
|
|
# remove the last version digit
|
|
VERSION_ID="${VERSION_ID%.*}"
|
|
fi
|
|
--
|
|
2.30.2
|
|
|