From 1e5069cdd3e8d59c8c942b0835a459e0ae4e8334 Mon Sep 17 00:00:00 2001 From: Robin Jarry Date: Thu, 9 Mar 2023 22:33:31 +0100 Subject: goflags.sh: silence errors No need to print errors when notmuch.h is not found. The only point of this script to check if it is available or not. Signed-off-by: Robin Jarry --- contrib/goflags.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contrib') diff --git a/contrib/goflags.sh b/contrib/goflags.sh index 90e4d9ee..8cc7ae8c 100755 --- a/contrib/goflags.sh +++ b/contrib/goflags.sh @@ -4,7 +4,7 @@ set -e tags= -if ${CC:-cc} -x c - -o/dev/null -lnotmuch; then +if ${CC:-cc} -x c - -o/dev/null -lnotmuch 2>/dev/null; then tags="$tags,notmuch" fi < -- cgit