From 21186893122fe03bf9618ee2a12fb30f83ac6aec Mon Sep 17 00:00:00 2001 From: alonre24 Date: Mon, 23 Oct 2023 12:49:44 +0300 Subject: [PATCH 1/2] Update zip.sh --- zip.sh | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/zip.sh b/zip.sh index f16e658..b1c2229 100755 --- a/zip.sh +++ b/zip.sh @@ -46,11 +46,8 @@ then x86_64) arch="x86_64" ;; - aarch64) - arch="arm64v8" - ;; arm64) - arch="arm64v8" + arch="aarch64" ;; *) echo "Unknown MacOS architecture $arch" @@ -68,13 +65,13 @@ else ["debian_gnu/linux11"]="bullseye" ) OS_NICK=${LINUX_OSNICKS[$OS_NICK]} - + [[ $OS_NICK == 'monterey' ]] && OS_NICK='catalina' declare -A archs=( ["x86_64"]="x86_64" ["X86_64"]="x86_64" - ["aarch64"]="arm64v8" - ["arm64"]="arm64v8" - ["ARM64"]="arm64v8" + ["arm64v8"]="aarch64" + ["arm64"]="aarch64" + ["ARM64"]="aarch64" ) arch=${archs[$arch]} fi From e98a361004bcd0616d4b50b3513e826f0c354003 Mon Sep 17 00:00:00 2001 From: alonre24 Date: Mon, 23 Oct 2023 12:51:57 +0300 Subject: [PATCH 2/2] Update zip.sh --- zip.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zip.sh b/zip.sh index b1c2229..aa6672e 100755 --- a/zip.sh +++ b/zip.sh @@ -65,7 +65,7 @@ else ["debian_gnu/linux11"]="bullseye" ) OS_NICK=${LINUX_OSNICKS[$OS_NICK]} - [[ $OS_NICK == 'monterey' ]] && OS_NICK='catalina' + [[ $OS_NICK == 'monterey' ]] && OS_NICK='catalina' # To be aligned with other modules in redis-stack declare -A archs=( ["x86_64"]="x86_64" ["X86_64"]="x86_64"