Browse Source

clang cpp doesn't like grep exiting early

pull/334/head
Antonio SJ Musumeci 8 years ago
parent
commit
3d2283f10f
  1. 2
      tools/cppfind

2
tools/cppfind

@ -2,6 +2,6 @@
FUSE_CFLAGS="$(pkg-config --cflags fuse) -DFUSE_USE_VERSION=29" 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 $? [ "$?" != "0" ]; echo $?
Loading…
Cancel
Save