diff options
author | Robin Jarry <robin@jarry.cc> | 2023-03-09 22:33:31 +0100 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2023-03-09 22:34:22 +0100 |
commit | 1e5069cdd3e8d59c8c942b0835a459e0ae4e8334 (patch) | |
tree | 39fc677531cb7b73ad9f94d083949bbd66be9f5d /contrib/goflags.sh | |
parent | 04bfc81a1abe8865a036e941545be0c05fd4f3fd (diff) | |
download | aerc-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>
Diffstat (limited to 'contrib/goflags.sh')
-rwxr-xr-x | contrib/goflags.sh | 2 |
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> |