Skip to content

Commit 0d93936

Browse files
committed
Update protobuf install to use correct repository
The protobuf repository is under the protocolbuffers org Signed-off-by: Derek McGowan <[email protected]>
1 parent 5280530 commit 0d93936

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

script/setup/install-protobuf

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,25 +28,25 @@ PROTOBUF_DIR=$(mktemp -d)
2828
case $GOARCH in
2929

3030
arm64)
31-
wget -O $PROTOBUF_DIR/protobuf "https://github.com/google/protobuf/releases/download/v$PROTOBUF_VERSION/protoc-$PROTOBUF_VERSION-linux-aarch64.zip"
31+
wget -O $PROTOBUF_DIR/protobuf "https://github.com/protocolbuffers/protobuf/releases/download/v$PROTOBUF_VERSION/protoc-$PROTOBUF_VERSION-linux-aarch64.zip"
3232
unzip $PROTOBUF_DIR/protobuf -d /usr/local
3333
;;
3434

3535
amd64|386)
3636
if [ "$GOOS" = windows ]; then
37-
wget -O $PROTOBUF_DIR/protobuf "https://github.com/google/protobuf/releases/download/v$PROTOBUF_VERSION/protoc-$PROTOBUF_VERSION-win32.zip"
37+
wget -O $PROTOBUF_DIR/protobuf "https://github.com/protocolbuffers/protobuf/releases/download/v$PROTOBUF_VERSION/protoc-$PROTOBUF_VERSION-win32.zip"
3838
elif [ "$GOOS" = linux ]; then
39-
wget -O $PROTOBUF_DIR/protobuf "https://github.com/google/protobuf/releases/download/v$PROTOBUF_VERSION/protoc-$PROTOBUF_VERSION-linux-x86_64.zip"
39+
wget -O $PROTOBUF_DIR/protobuf "https://github.com/protocolbuffers/protobuf/releases/download/v$PROTOBUF_VERSION/protoc-$PROTOBUF_VERSION-linux-x86_64.zip"
4040
fi
4141
unzip $PROTOBUF_DIR/protobuf -d /usr/local
4242
;;
4343

4444
ppc64le)
45-
wget -O $PROTOBUF_DIR/protobuf "https://github.com/google/protobuf/releases/download/v$PROTOBUF_VERSION/protoc-$PROTOBUF_VERSION-linux-ppcle_64.zip"
45+
wget -O $PROTOBUF_DIR/protobuf "https://github.com/protocolbuffers/protobuf/releases/download/v$PROTOBUF_VERSION/protoc-$PROTOBUF_VERSION-linux-ppcle_64.zip"
4646
unzip $PROTOBUF_DIR/protobuf -d /usr/local
4747
;;
4848
*)
49-
wget -O $PROTOBUF_DIR/protobuf "https://github.com/google/protobuf/releases/download/v$PROTOBUF_VERSION/protobuf-cpp-$PROTOBUF_VERSION.zip"
49+
wget -O $PROTOBUF_DIR/protobuf "https://github.com/protocolbuffers/protobuf/releases/download/v$PROTOBUF_VERSION/protobuf-cpp-$PROTOBUF_VERSION.zip"
5050
unzip $PROTOBUF_DIR/protobuf -d /usr/src/protobuf
5151
cd /usr/src/protobuf/protobuf-$PROTOBUF_VERSION
5252
./autogen.sh

0 commit comments

Comments
 (0)