Skip to content

Commit a53adfc

Browse files
authored
support for correct Tools on Linux/ARM (dotnet#31160)
1 parent 0c6cb66 commit a53adfc

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

init-tools.sh

+6
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,12 @@ if [ ! -e "$__DOTNET_PATH" ]; then
102102
__PKG_RID=rhel.6
103103
fi
104104
fi
105+
OSArch=$(uname -m)
106+
if [ $OSArch == 'armv7l' ];then
107+
__PKG_ARCH=arm
108+
elif [ $OSArch == 'aarch64' ]; then
109+
__PKG_ARCH=arm64
110+
fi
105111

106112
;;
107113

0 commit comments

Comments
 (0)