diff options
author | Yang Gao <yangg@google.com> | 2015-02-24 12:59:38 -0800 |
---|---|---|
committer | Yang Gao <yangg@google.com> | 2015-02-24 12:59:38 -0800 |
commit | 044fe221b1205799c0eeff8a20b4832f4f6bff76 (patch) | |
tree | a59502e7a22d0cd0d1e66631dcdd6314bc92ca36 /templates/Makefile.template | |
parent | 8e7a7dbdf3eb6d1e7aee96a540b774cb2885dd91 (diff) |
suppress output of which
Diffstat (limited to 'templates/Makefile.template')
-rw-r--r-- | templates/Makefile.template | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/Makefile.template b/templates/Makefile.template index 4a496cf88c..8240996cfc 100644 --- a/templates/Makefile.template +++ b/templates/Makefile.template @@ -274,7 +274,7 @@ HAS_SYSTEM_ZLIB = false HAS_SYSTEM_PROTOBUF = false endif -HAS_PROTOC = $(shell $(PROTOC_CMD) && echo true || echo false) +HAS_PROTOC = $(shell $(PROTOC_CMD) > /dev/null && echo true || echo false) ifeq ($(HAS_PROTOC),true) HAS_VALID_PROTOC = $(shell $(PROTOC_CHECK_CMD) 2> /dev/null && echo true || echo false) else |