Allow development on any architecture (#3598)
This commit is contained in:
parent
cbe3192971
commit
4e14c11fa4
@ -35,7 +35,8 @@ os() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
arch() {
|
arch() {
|
||||||
case "$(uname -m)" in
|
cpu="$(uname -m)"
|
||||||
|
case "$cpu" in
|
||||||
aarch64)
|
aarch64)
|
||||||
echo arm64
|
echo arm64
|
||||||
;;
|
;;
|
||||||
@ -43,8 +44,7 @@ arch() {
|
|||||||
echo amd64
|
echo amd64
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo "unknown architecture $(uname -a)"
|
echo "$cpu"
|
||||||
exit 1
|
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user