From b411e5c35132f61cc1fd99dbeb1ed3f859d6f5ac Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Fri, 7 Dec 2012 10:26:12 -0500 Subject: [PATCH] Prevent pager from appearing during build The config.h check added in commit 9e4ba00 may bring up the pager during build (depending on git config). Signed-off-by: Ed Maste Signed-off-by: Ben Pfaff --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index b00b82ccb..fe6aa458e 100644 --- a/Makefile.am +++ b/Makefile.am @@ -174,7 +174,7 @@ ALL_LOCAL += config-h-check config-h-check: @cd $(srcdir); \ if test -e .git && (git --version) >/dev/null 2>&1 && \ - git grep -L '#include ' `git ls-files | grep '\.c$$' | \ + git --no-pager grep -L '#include ' `git ls-files | grep '\.c$$' | \ grep -vE '^datapath|^lib/sflow|^third-party'`; \ then \ echo "See above for list of violations of the rule that"; \ -- 2.47.0