Define Interop.Kernel32.MAX_PATH (#15952)
[platform/upstream/coreclr.git] / build-packages.sh
index 4821386..4de98e6 100755 (executable)
@@ -16,7 +16,7 @@ initHostDistroRid()
     if [ "$__HostOS" == "Linux" ]; then
         if [ -e /etc/os-release ]; then
             source /etc/os-release
-            if [[ $ID == "alpine" ]]; then
+            if [[ $ID == "alpine" || $ID == "rhel" ]]; then
                 # remove the last version digit
                 VERSION_ID=${VERSION_ID%.*}
             fi