From b2b5fef27a4cb68571549f2e19660f39bd76467b Mon Sep 17 00:00:00 2001 From: smile21prc Date: Thu, 17 Aug 2017 10:42:22 -0700 Subject: Enable RedHat 6 in coreclr master (#13315) * Enable RedHat 6 in coreclr master Enable RedHat 6 in coreclr master. This is identical as the approved PR to enable RedHat 6 in coreclr release/2.0.0: https://github.com/dotnet/coreclr/pull/13301 * Correct Rid to match /src/.nuget/dirs.props Correct Rid to match /src/.nuget/dirs.props * Update dockertag and add logic to detect RHEL6 in init-tools.sh Update dockertag and add logic to detect RHEL6 in init-tools.sh * Port changes from Release/2.0.0 to fix coreclr RHEL 6 official runs. Port changes from Release/2.0.0 to fix coreclr RHEL 6 official runs. * Remove empty quotes. Remove empty quotes. --- init-tools.sh | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'init-tools.sh') diff --git a/init-tools.sh b/init-tools.sh index eb68c2e59e..4ec011d48d 100755 --- a/init-tools.sh +++ b/init-tools.sh @@ -37,6 +37,14 @@ if [ -z "$__DOTNET_PKG" ]; then Linux) __DOTNET_PKG=dotnet-dev-linux-x64 OS=Linux + + if [ -e /etc/redhat-release ]; then + redhatRelease=$(