From 6e403f487d1cd93cf222b3530ea4cdd144b5b821 Mon Sep 17 00:00:00 2001 From: Miroslav Safr Date: Mon, 7 Jul 2014 10:20:05 +0300 Subject: [PATCH] Int: avoid syntax check for git hooks Signed-off-by: Miroslav Safr --- efind-test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/efind-test.sh b/efind-test.sh index df59eb7..6ae6f41 100755 --- a/efind-test.sh +++ b/efind-test.sh @@ -43,7 +43,7 @@ SCRIPTS=cppfind,docfind,gcfind,htmlfind,javafind,pdffind,pptfind,shfind,specfind echo "scripts count: `echo $SCRIPTS| tr "," "\n" | wc -l`" teststart "syntax check" -for SCRIPT in $( grep -r -l -h --exclude-dir=test --exclude-dir=doc "#\!/bin/sh" . ) +for SCRIPT in $( grep -r -l -h --exclude-dir=test --exclude-dir=.git --exclude-dir=doc "#\!/bin/sh" . ) do echo " $PWD/$SCRIPT " sh -n "$SCRIPT"