[Tizen] Add support for GBS
[platform/upstream/coreclr.git] / build.sh
index 701c631..072c591 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -74,6 +74,10 @@ initHostDistroRid()
             if [[ $ID == "alpine" ]]; then
                 __HostDistroRid="linux-musl-$__HostArch"
             fi
+            if [[ $ID == "tizen" ]]; then
+                __HostArch=armel
+                export __HostDistroRid="$ID.$VERSION_ID-$__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