summaryrefslogtreecommitdiff
path: root/init-tools.sh
diff options
context:
space:
mode:
authorTanner Gooding <tagoo@outlook.com>2018-08-09 08:02:43 -0700
committerTanner Gooding <tagoo@outlook.com>2018-08-09 11:50:00 -0700
commitce175cbb849378c2ef1985ff3994cd0d82f3d8fe (patch)
tree9d75b6f1332d5ed65caa01369cba6e40e3795798 /init-tools.sh
parent7d2ca2b50ac35e08f2959c71f30a857cf7d320d9 (diff)
downloadcoreclr-ce175cbb849378c2ef1985ff3994cd0d82f3d8fe.tar.gz
coreclr-ce175cbb849378c2ef1985ff3994cd0d82f3d8fe.tar.bz2
coreclr-ce175cbb849378c2ef1985ff3994cd0d82f3d8fe.zip
Updating init-tools to be inline with the CoreFX copy
Diffstat (limited to 'init-tools.sh')
-rwxr-xr-xinit-tools.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/init-tools.sh b/init-tools.sh
index 2adec1a64b..f9c0054eb8 100755
--- a/init-tools.sh
+++ b/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
;;