From 65dfe2eea80bef95c1bebc990780314f8118ec0d Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Tue, 13 Dec 2022 22:25:47 -0800 Subject: [PATCH] Suppress the output of `if [ 'xyes' = xyes ];` code itself --- yjit/yjit.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yjit/yjit.mk b/yjit/yjit.mk index cc7b42d26a..bcfe902be7 100644 --- a/yjit/yjit.mk +++ b/yjit/yjit.mk @@ -62,7 +62,7 @@ ifneq ($(strip $(CARGO)),) # if configure found Cargo .PHONY: yjit-bindgen yjit-bindgen-show-unused yjit-bindgen: yjit.$(OBJEXT) YJIT_SRC_ROOT_PATH='$(top_srcdir)' $(CARGO) run --manifest-path '$(top_srcdir)/yjit/bindgen/Cargo.toml' -- $(CFLAGS) $(XCFLAGS) $(CPPFLAGS) - if [ 'x$(HAVE_GIT)' = xyes ]; then $(GIT) -C "$(top_srcdir)" diff --exit-code yjit/src/cruby_bindings.inc.rs; fi + $(Q) if [ 'x$(HAVE_GIT)' = xyes ]; then $(GIT) -C "$(top_srcdir)" diff --exit-code yjit/src/cruby_bindings.inc.rs; fi check-yjit-bindgen-unused: yjit.$(OBJEXT) RUST_LOG=warn YJIT_SRC_ROOT_PATH='$(top_srcdir)' $(CARGO) run --manifest-path '$(top_srcdir)/yjit/bindgen/Cargo.toml' -- $(CFLAGS) $(XCFLAGS) $(CPPFLAGS) 2>&1 | (! grep "unused option: --allow")