Explorar el Código

Make protobuf check silent

Avoid printing the if condition

Signed-off-by: Flavio Crisciani <flavio.crisciani@docker.com>
Flavio Crisciani hace 7 años
padre
commit
6defa7c807
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      libnetwork/Makefile

+ 1 - 1
libnetwork/Makefile

@@ -93,7 +93,7 @@ PB_FILES=$(PROTO_FILES:.proto=.pb.go)
 # Pattern rule for protoc.   If PROTOC_CHECK is defined, it checks
 # whether the generated files are up to date and fails if they are not
 %.pb.go: %.proto
-	if [ ${PROTOC_CHECK} ]; then \
+	@if [ ${PROTOC_CHECK} ]; then \
 	protoc ${PROTOC_FLAGS} --gogo_out=/tmp $< ; \
 	diff -q $@ /tmp/$@ >/dev/null || (echo "👹 $@ is out of date; please run 'make protobuf' and check in updates" && exit 1) ; \
 	else \