Enable RHEL6 and CentOS 6 RID detection in build
authorJan Vorlicek <janvorli@microsoft.com>
Mon, 31 Jul 2017 15:49:25 +0000 (15:49 +0000)
committerJan Vorlicek <janvorli@microsoft.com>
Mon, 31 Jul 2017 19:05:57 +0000 (21:05 +0200)
commitce4f43a37e6ca60d3233410881a583eb88805bd3
tree449fe869b273764f5029948c0e97188625f1d058
parente5a574db243b7a4d3ee31eb29a2c86f74aff7280
Enable RHEL6 and CentOS 6 RID detection in build

This change adds RHEL6 and CentOS 6 RID detection to src/corehost/build.sh.
These distros don't have the /etc/os-release file and so we need to use another
source - the /etc/redhat-release file.
It is an exact copy of the same change merged in for CoreCLR.

Commit migrated from https://github.com/dotnet/core-setup/commit/6ae626fa9ce15b828eea1af9a92055c43ad8cb30
src/installer/corehost/build.sh