clang cpp doesn't like grep exiting early

This commit is contained in:
Antonio SJ Musumeci
2016-10-31 09:39:10 -04:00
parent 192bb9c57e
commit 3d2283f10f
+1 -1
View File
@@ -2,6 +2,6 @@
FUSE_CFLAGS="$(pkg-config --cflags fuse) -DFUSE_USE_VERSION=29"
echo "#include <fuse.h>" | cpp ${FUSE_CFLAGS} | grep -q "${1}"
echo "#include <fuse.h>" | cpp ${FUSE_CFLAGS} | grep "${1}" > /dev/null
[ "$?" != "0" ]; echo $?