From 4e14c11fa4f152e73c071d6cbb71ca936bfe4592 Mon Sep 17 00:00:00 2001 From: jan iversen Date: Thu, 17 Jun 2021 19:28:54 +0200 Subject: [PATCH] Allow development on any architecture (#3598) --- ci/lib.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ci/lib.sh b/ci/lib.sh index 7417a4848..df97b0ba2 100755 --- a/ci/lib.sh +++ b/ci/lib.sh @@ -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 }