@@ -28,25 +28,25 @@ PROTOBUF_DIR=$(mktemp -d)
2828case $GOARCH in
2929
3030arm64)
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
3535amd64|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
4444ppc64le)
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