mirror of
https://github.com/trapexit/mergerfs.git
synced 2024-11-22 08:50:13 +08:00
clang cpp doesn't like grep exiting early
This commit is contained in:
parent
192bb9c57e
commit
3d2283f10f
|
@ -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 $?
|
||||
|
|
Loading…
Reference in New Issue
Block a user