Allow development on any architecture (#3598)

This commit is contained in:
jan iversen 2021-06-17 19:28:54 +02:00 committed by GitHub
parent cbe3192971
commit 4e14c11fa4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -35,7 +35,8 @@ os() {
}
arch() {
case "$(uname -m)" in
cpu="$(uname -m)"
case "$cpu" in
aarch64)
echo arm64
;;
@ -43,8 +44,7 @@ arch() {
echo amd64
;;
*)
echo "unknown architecture $(uname -a)"
exit 1
echo "$cpu"
;;
esac
}