Skip to content

Commit

Permalink
fix: rename aarch64 to arm64 . (#2)
Browse files Browse the repository at this point in the history
Closes #1.
  • Loading branch information
jimsynz committed Feb 24, 2023
1 parent 34fe51e commit 7352c16
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion lib/utils.bash
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 7352c16

Please sign in to comment.