From 84c3ba0fe31f940dd5bea45d37a40082cc3e9f14 Mon Sep 17 00:00:00 2001 From: Eric Chiang Date: Thu, 27 Oct 2016 14:35:38 -0700 Subject: [PATCH] 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. --- scripts/get-protoc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/get-protoc b/scripts/get-protoc index d15a69c4..41b8f54a 100755 --- a/scripts/get-protoc +++ b/scripts/get-protoc @@ -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}"