From 468bfabd61e8140eced510266dd58145f6705939 Mon Sep 17 00:00:00 2001 From: everpcpc Date: Tue, 27 Feb 2024 10:32:38 +0800 Subject: [PATCH] chore: fix setup protoc aarch64 (#14754) --- scripts/setup/dev_setup.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/setup/dev_setup.sh b/scripts/setup/dev_setup.sh index c0bfc043c9eb..cb85d10dcfac 100755 --- a/scripts/setup/dev_setup.sh +++ b/scripts/setup/dev_setup.sh @@ -206,6 +206,7 @@ function install_protobuf { ;; *) arch=$(uname -m) + arch=${arch/aarch64/aarch_64} PB_REL="https://github.com/protocolbuffers/protobuf/releases" curl -LO $PB_REL/download/v3.15.8/protoc-3.15.8-linux-${arch}.zip unzip protoc-3.15.8-linux-${arch}.zip -d protoc-3.15.8