Skip to content

Commit

Permalink
Update install_protoc.sh script to support apple architectures (#732)
Browse files Browse the repository at this point in the history
Signed-off-by: Eric Dobroveanu <edobrove@redhat.com>
  • Loading branch information
Crazyglue authored Jan 23, 2025
1 parent ddb7961 commit 62cfc06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/install_protoc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 62cfc06

Please sign in to comment.