Skip to content

Commit

Permalink
fix: update install_protoc.sh script to support apple architectures a…
Browse files Browse the repository at this point in the history
… little better
  • Loading branch information
Crazyglue committed Jan 23, 2025
1 parent 979b1ed commit 3d2ec76
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 3d2ec76

Please sign in to comment.