diff --git a/get-packages.sh b/get-packages.sh index 81e65f0c7e4e81ca4694f55f447650a45fe4ba02..843f4be43b9cda19674bf6b8474b94644256a62a 100755 --- a/get-packages.sh +++ b/get-packages.sh @@ -27,7 +27,7 @@ function main() cd $here_dir/third-party/grpc - if [[ ! -x third_party/protobuf/src/protoc ]]; then + if [[ ! -x third_party/protobuf/src/protoc ]] && [[ -x /usr/local/bin/protoc ]] ; then if [[ ! -f Makefile ]]; then cmake . fi