From 24eaf9d8485294ffaff9fb455b36746b74bcc959 Mon Sep 17 00:00:00 2001 From: Damien Martin-Guillerez Date: Thu, 16 Apr 2015 14:30:49 +0000 Subject: Bazel compile.sh: test for existence of the protoc compiler Tested with removing the protoc binaries from a github copy. Fixes #128. -- MOS_MIGRATED_REVID=91297812 --- compile.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'compile.sh') diff --git a/compile.sh b/compile.sh index 1fe218b09e..c4ff9bf394 100755 --- a/compile.sh +++ b/compile.sh @@ -198,6 +198,9 @@ msys*|mingw*) done esac +[[ -x "${PROTOC-}" ]] \ + || fail "Protobuf compiler not found in ${PROTOC-}" + mkdir -p fromhost if [ ! -f fromhost/BUILD ]; then write_fromhost_build -- cgit v1.2.3