1
0
mirror of https://git.tuxpa.in/a/code-server.git synced 2024-12-27 04:35:25 +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() { 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
} }