[ovs-dev] [PATCH] Prevent pager from appearing during build
Ed Maste
emaste at freebsd.org
Fri Dec 7 15:26:12 UTC 2012
The config.h check added in commit 9e4ba00 may bring up the pager during
build (depending on git config).
Signed-off-by: Ed Maste <emaste at freebsd.org>
---
Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile.am b/Makefile.am
index b00b82c..fe6aa45 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 <config\.h>' `git ls-files | grep '\.c$$' | \
+ git --no-pager grep -L '#include <config\.h>' `git ls-files | grep '\.c$$' | \
grep -vE '^datapath|^lib/sflow|^third-party'`; \
then \
echo "See above for list of violations of the rule that"; \
--
1.7.11.5
More information about the dev
mailing list