scripts: fix get-protoc script to work directly after a clean
Right now `make grpc` only works if a user hasn't run a `make clean`. Fix this.
This commit is contained in:
parent
c1f18802c9
commit
84c3ba0fe3
@ -17,6 +17,8 @@ if [ "$OS" = "darwin" ]; then
|
|||||||
OS="osx"
|
OS="osx"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
mkdir -p bin
|
||||||
|
|
||||||
# TODO(ericchiang): Architectures other than amd64?
|
# TODO(ericchiang): Architectures other than amd64?
|
||||||
ZIP="protoc-${VERSION}-${OS}-x86_64.zip"
|
ZIP="protoc-${VERSION}-${OS}-x86_64.zip"
|
||||||
URL="https://github.com/google/protobuf/releases/download/v${VERSION}/${ZIP}"
|
URL="https://github.com/google/protobuf/releases/download/v${VERSION}/${ZIP}"
|
||||||
|
Reference in New Issue
Block a user