summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorWes Haggard <Wes.Haggard@microsoft.com>2018-04-23 17:50:28 -0700
committerWes Haggard <Wes.Haggard@microsoft.com>2018-04-23 17:53:30 -0700
commit41de28be0d29c2da2185c31440c4b71f11a8b6f2 (patch)
tree93128296f98022578f4084bf571830e8f6968ff5 /build.sh
parent05a2f5f3212d7060e342d83df5406b715c055b06 (diff)
downloadcoreclr-41de28be0d29c2da2185c31440c4b71f11a8b6f2.tar.gz
coreclr-41de28be0d29c2da2185c31440c4b71f11a8b6f2.tar.bz2
coreclr-41de28be0d29c2da2185c31440c4b71f11a8b6f2.zip
Remove Alpine 3.6 builds
The alpine 3.6 builds have been replaced with the more generic linux-musl builds so removing them.
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index dcb16a9898..701c631528 100755
--- a/build.sh
+++ b/build.sh
@@ -66,11 +66,14 @@ initHostDistroRid()
if [ "$__HostOS" == "Linux" ]; then
if [ -e /etc/os-release ]; then
source /etc/os-release
- if [[ $ID == "alpine" || $ID == "rhel" ]]; then
+ if [[ $ID == "rhel" ]]; then
# remove the last version digit
VERSION_ID=${VERSION_ID%.*}
fi
__HostDistroRid="$ID.$VERSION_ID-$__HostArch"
+ if [[ $ID == "alpine" ]]; then
+ __HostDistroRid="linux-musl-$__HostArch"
+ fi
elif [ -e /etc/redhat-release ]; then
local redhatRelease=$(</etc/redhat-release)
if [[ $redhatRelease == "CentOS release 6."* || $redhatRelease == "Red Hat Enterprise Linux Server release 6."* ]]; then