From 9c5511bd72d38872325042c3301a28981bb8d824 Mon Sep 17 00:00:00 2001
From: Jason Hiser <jdhiser@gmail.com>
Date: Thu, 22 Aug 2019 16:35:14 -0400
Subject: [PATCH] more cautious building of grpc

---
 get-packages.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/get-packages.sh b/get-packages.sh
index 81e65f0..843f4be 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
-- 
GitLab