X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=build.sh;h=701c6315280ef9f1483dff77110b3cf56f5fef65;hb=b8f0c4b81c85b75f4a1241a289f179f400453664;hp=dcb16a989871ee7cf688e854396719815a6b0d2c;hpb=a96d2fef8edd01f57079f68d92189e1b84378fb8;p=platform%2Fupstream%2Fcoreclr.git diff --git a/build.sh b/build.sh index dcb16a9..701c631 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=$(