summaryrefslogtreecommitdiff
path: root/download-latest.sh
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2023-01-14 00:55:25 +0100
committerValery Piashchynski <[email protected]>2023-01-14 00:55:25 +0100
commit266ff1f5e9b3ae1995e4b51456928e3b16ea8222 (patch)
treef3ff8f183cf9b6e14a4fdae123247f1d5aef240e /download-latest.sh
parentb9b042aa3d30fe88adc35157691ce92987464e98 (diff)
fix darwin m1/m2
Signed-off-by: Valery Piashchynski <[email protected]>
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