From c97ade81fab9a45a53269d6718dc81a318723b73 Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Wed, 1 Dec 2021 20:54:44 +0100 Subject: [PATCH] Revert "Fix arch detection on macos" This reverts commit dbadcf1858906dc77eb6ebd955ced9fe2d2e7348. --- scripts/bootstrap/bootstrap-haskell | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/scripts/bootstrap/bootstrap-haskell b/scripts/bootstrap/bootstrap-haskell index ba02d6d..90728d4 100755 --- a/scripts/bootstrap/bootstrap-haskell +++ b/scripts/bootstrap/bootstrap-haskell @@ -240,9 +240,7 @@ download_ghcup() { _url=${base_url}/${ghver}/x86_64-freebsd${freebsd_ver}-ghcup-${ghver} ;; "Darwin"|"darwin") - # uname -m and arch seem to behave different under rosetta - # https://superuser.com/questions/835514/why-do-uname-p-and-uname-m-and-arch-output-different-architectures - case "$(arch)" in + case "${arch}" in x86_64|amd64) _url=${base_url}/${ghver}/x86_64-apple-darwin-ghcup-${ghver} ;;