From 3e591832c46dbee63f256245eb9bea4fcc126ea4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Date: Mon, 1 Apr 2019 12:50:52 +0200 Subject: [PATCH] build-sys: fix grep warnings when building out-of-tree MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marc-André Lureau --- src/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Makefile.am b/src/Makefile.am index 529ed61a..043a01fb 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -546,7 +546,8 @@ check: .PHONY: srccheck srccheck: - @n=`grep -i "nuvo" $(libtpms_tpm2_la_SOURCES) | wc -l`; \ + @cd $(srcdir) && \ + n=`grep -i "nuvo" $(libtpms_tpm2_la_SOURCES) | wc -l`; \ if test $$n -ne 0; then \ echo "Filter sources!"; \ exit 1; \