From c862764b4f79f6165aaed52bb734d28c00b3bd60 Mon Sep 17 00:00:00 2001 From: Tanner Gooding Date: Thu, 9 Aug 2018 08:02:43 -0700 Subject: [PATCH] Updating init-tools to be inline with the CoreFX copy Commit migrated from https://github.com/dotnet/coreclr/commit/ce175cbb849378c2ef1985ff3994cd0d82f3d8fe --- src/coreclr/init-tools.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/coreclr/init-tools.sh b/src/coreclr/init-tools.sh index 2adec1a..f9c0054 100755 --- a/src/coreclr/init-tools.sh +++ b/src/coreclr/init-tools.sh @@ -102,6 +102,12 @@ if [ ! -e "$__DOTNET_PATH" ]; then __PKG_RID=rhel.6 fi fi + OSArch=$(uname -m) + if [ $OSArch == 'armv7l' ];then + __PKG_ARCH=arm + elif [ $OSArch == 'aarch64' ]; then + __PKG_ARCH=arm64 + fi ;; -- 2.7.4