1
0
mirror of https://git.tuxpa.in/a/code-server.git synced 2024-12-26 12:15:26 +00:00

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

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
}