summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorJan Vorlicek <janvorli@microsoft.com>2017-07-28 00:18:31 +0200
committerGitHub <noreply@github.com>2017-07-28 00:18:31 +0200
commitfc2f62a10d7216352d8c671006e8239fd487b421 (patch)
tree945cba487e9c582a88cb38fad0cfdcbbe0bbec5d /build.sh
parentb832a6dd6a5a3647cb1a8ecde1386536ad60b2b3 (diff)
downloadcoreclr-fc2f62a10d7216352d8c671006e8239fd487b421.tar.gz
coreclr-fc2f62a10d7216352d8c671006e8239fd487b421.tar.bz2
coreclr-fc2f62a10d7216352d8c671006e8239fd487b421.zip
Fix Alpine build (#13052)
This change fixes CoreCLR build on Alpine Linux
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/build.sh b/build.sh
index 52ad1ae9ce..91a97e41d0 100755
--- a/build.sh
+++ b/build.sh
@@ -390,10 +390,11 @@ isMSBuildOnNETCoreSupported()
if [ "$__HostArch" == "x64" ]; then
if [ "$__HostOS" == "Linux" ]; then
__isMSBuildOnNETCoreSupported=1
- UNSUPPORTED_RIDS=("debian.9-x64" "ubuntu.17.04-x64")
+ # note: the RIDs below can use globbing patterns
+ UNSUPPORTED_RIDS=("debian.9-x64" "ubuntu.17.04-x64" "alpine.3.6.*-x64")
for UNSUPPORTED_RID in "${UNSUPPORTED_RIDS[@]}"
do
- if [ "$__HostDistroRid" == "$UNSUPPORTED_RID" ]; then
+ if [[ $__HostDistroRid == $UNSUPPORTED_RID ]]; then
__isMSBuildOnNETCoreSupported=0
break
fi