Updating init-tools to be inline with the CoreFX copy
authorTanner Gooding <tagoo@outlook.com>
Thu, 9 Aug 2018 15:02:43 +0000 (08:02 -0700)
committerTanner Gooding <tagoo@outlook.com>
Thu, 9 Aug 2018 18:50:00 +0000 (11:50 -0700)
init-tools.sh

index 2adec1a64b0b5500165945caeef6cd1a628f4f76..f9c0054eb8e50bdc13ad7a4a8b16247e3c7e1a3a 100755 (executable)
@@ -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
 
                 ;;