From 1688fce83877b1aebe0764b6477e0fe855771c91 Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Sun, 24 Jan 2010 01:47:25 +0000 Subject: [PATCH] Fix check-build verbosity. --- test/check-build | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/test/check-build b/test/check-build index 4a3d729..af96382 100755 --- a/test/check-build +++ b/test/check-build @@ -29,7 +29,11 @@ fi failure=0 for dir in caca src cxx examples ruby tools; do pushd ../$dir >/dev/null - for x in $(make echo-sources); do + for x in $(make -s echo-sources); do + case "$x" in + *.c|*.cpp|*.h|*.m) ;; + *) continue ;; + esac if grep '[[:space:]]$' "$x" >/dev/null 2>&1; then echo "error: $dir/$x contains trailing spaces" failure=1