Merge pull request #641 from ericchiang/dev-scripts-fix-get-protoc

scripts: fix get-protoc script to work directly after a clean
This commit is contained in:
Eric Chiang 2016-10-27 14:42:40 -07:00 committed by GitHub
commit acf3d6385e

View file

@ -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}"