aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobin Jarry <robin@jarry.cc>2023-03-09 22:33:31 +0100
committerRobin Jarry <robin@jarry.cc>2023-03-09 22:34:22 +0100
commit1e5069cdd3e8d59c8c942b0835a459e0ae4e8334 (patch)
tree39fc677531cb7b73ad9f94d083949bbd66be9f5d
parent04bfc81a1abe8865a036e941545be0c05fd4f3fd (diff)
downloadaerc-1e5069cdd3e8d59c8c942b0835a459e0ae4e8334.tar.gz
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 <robin@jarry.cc>
-rwxr-xr-xcontrib/goflags.sh2
1 files changed, 1 insertions, 1 deletions
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 <<EOF
#include <notmuch.h>