summaryrefslogtreecommitdiff
path: root/build-test.sh
diff options
context:
space:
mode:
authorWes Haggard <weshaggard@users.noreply.github.com>2018-04-24 17:05:45 -0700
committerGitHub <noreply@github.com>2018-04-24 17:05:45 -0700
commit482099f5fba1f1e4567d86ad57b79f99ad73ba65 (patch)
treeb85438468fec1157b4b8b8f53f6e53b2adc828a6 /build-test.sh
parent1c584d894c143410397230af718401347447beef (diff)
parent41de28be0d29c2da2185c31440c4b71f11a8b6f2 (diff)
downloadcoreclr-482099f5fba1f1e4567d86ad57b79f99ad73ba65.tar.gz
coreclr-482099f5fba1f1e4567d86ad57b79f99ad73ba65.tar.bz2
coreclr-482099f5fba1f1e4567d86ad57b79f99ad73ba65.zip
Merge pull request #17747 from weshaggard/RemoveAlpineBuild
Remove Alpine 3.6 builds
Diffstat (limited to 'build-test.sh')
-rwxr-xr-xbuild-test.sh8
1 files changed, 3 insertions, 5 deletions
diff --git a/build-test.sh b/build-test.sh
index 3a4b30e589..77b98e76d7 100755
--- a/build-test.sh
+++ b/build-test.sh
@@ -20,14 +20,12 @@ initHostDistroRid()
elif [ -e /etc/os-release ]; then
source /etc/os-release
if [[ $ID == "alpine" ]]; then
- # remove the last version digit
- VERSION_ID=${VERSION_ID%.*}
+ __HostDistroRid="linux-musl-$__HostArch"
else
__PortableBuild=1
+ __HostDistroRid="$ID.$VERSION_ID-$__HostArch"
fi
-
- __HostDistroRid="$ID.$VERSION_ID-$__HostArch"
- fi
+ fi
elif [ "$__HostOS" == "FreeBSD" ]; then
__freebsd_version=`sysctl -n kern.osrelease | cut -f1 -d'.'`
__HostDistroRid="freebsd.$__freebsd_version-$__HostArch"