From 7352c1669227fbed54fbc9d7c4fda7489a5342cb Mon Sep 17 00:00:00 2001 From: James Harton <59449+jimsynz@users.noreply.github.com> Date: Sat, 25 Feb 2023 08:49:10 +1300 Subject: [PATCH] fix: rename `aarch64` to `arm64` . (#2) Closes #1. --- lib/utils.bash | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/lib/utils.bash b/lib/utils.bash index 3a69e59..41c12ea 100644 --- a/lib/utils.bash +++ b/lib/utils.bash @@ -80,7 +80,14 @@ get_platform() { } get_arch() { - uname -m + local arch + arch=$(uname -m) + + if [[ "$arch" == "aarch64" ]]; then + echo "arm64" + else + echo "$arch" + fi } extract() {