Skip to content

Commit

Permalink
switch arch during protoc download
Browse files Browse the repository at this point in the history
  • Loading branch information
maciaszczykm committed Oct 23, 2023
1 parent b27bafb commit a298337
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion build/protoc.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
#!/usr/bin/bash
#!/usr/bin/sh

ROOT_DIR="$(cd $(dirname "${BASH_SOURCE}")/.. && pwd -P)"

ARCH=$(uname -m)
case "$ARCH" in
arm64*) ARCH="aarch_64" ;;
esac

OS="linux"
case "$OSTYPE" in
darwin*) OS="osx" ;;
Expand Down

0 comments on commit a298337

Please sign in to comment.