summaryrefslogtreecommitdiff
path: root/download-latest.sh
diff options
context:
space:
mode:
Diffstat (limited to 'download-latest.sh')
-rw-r--r--download-latest.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/download-latest.sh b/download-latest.sh
index c7db8c04..d2a1a445 100644
--- a/download-latest.sh
+++ b/download-latest.sh
@@ -92,11 +92,9 @@ get_archi() {
'arm64')
# macOS M1/M2
- if [ $os = 'macos' ]; then
+ if [ $os = 'darwin' ]; then
archi='arm64'
fi
-
- archi='arm64'
;;
*)
return 1