summaryrefslogtreecommitdiff
path: root/init-tools.sh
diff options
context:
space:
mode:
authorGaurav Khanna <gkhanna@microsoft.com>2016-02-29 22:50:01 -0800
committerGaurav Khanna <gkhanna@microsoft.com>2016-02-29 22:50:01 -0800
commit5f4fc97f24316cdf464671cbaeca5710a1b76665 (patch)
tree640256ed4b10df91fe1c769a8e09de66d8989055 /init-tools.sh
parent444ca211c12c1f424acc1fa275272f284dcccb75 (diff)
downloadcoreclr-5f4fc97f24316cdf464671cbaeca5710a1b76665.tar.gz
coreclr-5f4fc97f24316cdf464671cbaeca5710a1b76665.tar.bz2
coreclr-5f4fc97f24316cdf464671cbaeca5710a1b76665.zip
Map RHEL distribution to download CentOS CLI
Diffstat (limited to 'init-tools.sh')
-rwxr-xr-xinit-tools.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/init-tools.sh b/init-tools.sh
index 97a8f10a19..8a3d1a8ca8 100755
--- a/init-tools.sh
+++ b/init-tools.sh
@@ -69,6 +69,10 @@ if [ "$__DistroName" == "centos" ]; then
__DOTNET_PKG=dotnet-centos-x64
fi
+if [ "$__DistroName" == "rhel" ]; then
+ __DOTNET_PKG=dotnet-centos-x64
+fi
+
__CLIDownloadURL=https://dotnetcli.blob.core.windows.net/dotnet/dev/Binaries/${__DOTNET_TOOLS_VERSION}/${__DOTNET_PKG}.${__DOTNET_TOOLS_VERSION}.tar.gz
echo ".NET CLI will be downloaded from $__CLIDownloadURL"