diff options
author | Wes Haggard <Wes.Haggard@microsoft.com> | 2018-04-23 17:50:28 -0700 |
---|---|---|
committer | Wes Haggard <Wes.Haggard@microsoft.com> | 2018-04-23 17:53:30 -0700 |
commit | 41de28be0d29c2da2185c31440c4b71f11a8b6f2 (patch) | |
tree | 93128296f98022578f4084bf571830e8f6968ff5 /build-packages.sh | |
parent | 05a2f5f3212d7060e342d83df5406b715c055b06 (diff) | |
download | coreclr-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-packages.sh')
-rwxr-xr-x | build-packages.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/build-packages.sh b/build-packages.sh index 838f5bd7f3..f06024e7f6 100755 --- a/build-packages.sh +++ b/build-packages.sh @@ -16,11 +16,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-$__Arch" + if [[ $ID == "alpine" ]]; then + __HostDistroRid="linux-musl-$__Arch" + 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 |