Prevent pager from appearing during build
authorEd Maste <emaste@freebsd.org>
Fri, 7 Dec 2012 15:26:12 +0000 (10:26 -0500)
committerBen Pfaff <blp@nicira.com>
Fri, 7 Dec 2012 15:30:52 +0000 (07:30 -0800)
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@freebsd.org>
Signed-off-by: Ben Pfaff <blp@nicira.com>
Makefile.am

index b00b82c..fe6aa45 100644 (file)
@@ -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"; \