Skip to content

Commit 5c2ce03

Browse files
committed
Use arch, not uname, for Linux architecture detection
This actually works in our docker image.
1 parent 56d10a1 commit 5c2ce03

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
aeffd63979f2584ff3790fe16e343c97efdb1ade
1+
ba977a99820e0e68944988a098eceab523170195

src/rust/engine/process_executor/bazel_protos/generate-grpc.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ case "$(uname)" in
1313
;;
1414
"Linux")
1515
os="linux"
16-
os_version="$(uname -p)"
16+
os_version="$(arch)"
1717
;;
1818
*)
1919
echo >&2 "Unknown platform when fetching protoc"

0 commit comments

Comments
 (0)