Fixed error when $OS_ARCH returns aarch64 (#45)
For some machines $OS_ARCH returns aarch64 instead of ARM64,and as i see here this should fix it.
This commit is contained in:
parent
4babb22f84
commit
24c5ba2b9c
1 changed files with 1 additions and 0 deletions
|
|
@ -8,6 +8,7 @@ OS_ARCH=$(uname -m)
|
|||
case "${OS_ARCH}" in
|
||||
x86_64*) OS_ARCH="x86_64";;
|
||||
arm64*) OS_ARCH="aarch64";;
|
||||
aarch64*) OS_ARCH="aarch64";;
|
||||
*) echo "Unknown system architecture: $OS_ARCH! This script runs only on x86_64 or arm64" && exit
|
||||
esac
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue