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:
Eric Chiang 2016-10-27 14:35:38 -07:00
parent c1f18802c9
commit 84c3ba0fe3
1 changed files with 2 additions and 0 deletions

View File

@ -17,6 +17,8 @@ if [ "$OS" = "darwin" ]; then
OS="osx"
fi
mkdir -p bin
# TODO(ericchiang): Architectures other than amd64?
ZIP="protoc-${VERSION}-${OS}-x86_64.zip"
URL="https://github.com/google/protobuf/releases/download/v${VERSION}/${ZIP}"