Skip to content

Commit

Permalink
fix install_protoc ARCH value when linux container is used
Browse files Browse the repository at this point in the history
Signed-off-by: Matteo Mortari <[email protected]>
  • Loading branch information
tarilabs committed Apr 17, 2024
1 parent 53990f7 commit 8bcd792
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/install_protoc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ if [[ "$OSTYPE" == "darwin"* ]]; then
fi
ARCH=$(uname -m)
if [[ "$ARCH" == "arm"* ]]; then
ARCH="aarch_64"
ARCH="aarch_64" # Mac
elif [[ "$ARCH" == "aarch64" ]]; then
ARCH="aarch_64" # Linux/container
elif [[ "$ARCH" == "s390x" ]]; then
ARCH="s390_64"
elif [[ "$ARCH" == "ppc64le" ]] ; then
Expand Down

0 comments on commit 8bcd792

Please sign in to comment.