From 134a87f4ecd0072359e2709b1fd05ab0c458cc0b Mon Sep 17 00:00:00 2001 From: Eric Dobroveanu Date: Thu, 23 Jan 2025 12:51:40 -0500 Subject: [PATCH] fix: update install_protoc.sh script to support apple architectures a little better Signed-off-by: Eric Dobroveanu --- scripts/install_protoc.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install_protoc.sh b/scripts/install_protoc.sh index fd66de66e..c152ebde4 100755 --- a/scripts/install_protoc.sh +++ b/scripts/install_protoc.sh @@ -8,7 +8,7 @@ if [[ ${OSTYPE,,} =~ darwin ]]; then fi ARCH=$(uname -m) -if [[ "$ARCH" == "arm"* ]]; then +if [[ "$ARCH" == "arm"* || "$ARCH" == "aarch64" ]]; then ARCH="aarch_64" elif [[ "$ARCH" == "s390x" ]]; then ARCH="s390_64"