From 044fe221b1205799c0eeff8a20b4832f4f6bff76 Mon Sep 17 00:00:00 2001 From: Yang Gao Date: Tue, 24 Feb 2015 12:59:38 -0800 Subject: suppress output of which --- templates/Makefile.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/Makefile.template') 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 -- cgit v1.2.3