From a501e1d874f01acc318e7963837fbeb58a29f744 Mon Sep 17 00:00:00 2001 From: Tom Clegg Date: Fri, 14 Apr 2017 16:16:58 -0400 Subject: [PATCH] 11308: Stop if fuse.h or gnutls.h sanity check fails. --- build/run-tests.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/run-tests.sh b/build/run-tests.sh index 252730223b..a9f63aee38 100755 --- a/build/run-tests.sh +++ b/build/run-tests.sh @@ -177,10 +177,10 @@ sanity_checks() { gcc --version | egrep ^gcc \ || fatal "No gcc. Try: apt-get install build-essential" echo -n 'fuse.h: ' - find /usr/include -wholename '*fuse/fuse.h' \ + find /usr/include -path '*fuse/fuse.h' | egrep --max-count=1 . \ || fatal "No fuse/fuse.h. Try: apt-get install libfuse-dev" echo -n 'gnutls.h: ' - find /usr/include -wholename '*gnutls/gnutls.h' \ + find /usr/include -path '*gnutls/gnutls.h' | egrep --max-count=1 . \ || fatal "No gnutls/gnutls.h. Try: apt-get install libgnutls28-dev" echo -n 'Python2 pyconfig.h: ' find /usr/include -path '*/python2*/pyconfig.h' | egrep --max-count=1 . \ -- 2.30.2