From 8f710a4103607c3568b31bc9b1002aafc6954489 Mon Sep 17 00:00:00 2001 From: Thiago de Arruda Date: Tue, 22 Apr 2014 16:58:09 -0300 Subject: Fix clint.sh wrapper script and broken files - Fixed clint.sh, it no longer ignores errors in individual files. - Fixed two files that weren't passing the clint test --- scripts/clint.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/clint.sh b/scripts/clint.sh index 1453411e1c..55eb5c9394 100755 --- a/scripts/clint.sh +++ b/scripts/clint.sh @@ -1,5 +1,9 @@ #!/bin/sh for file in $(cat clint-files.txt); do - ./clint.py $file + ./clint.py $file || fail=1 done + +if [ -n "$fail" ]; then + exit 1 +fi -- cgit