Skip to content

Commit

Permalink
Int: avoid syntax check for git hooks
Browse files Browse the repository at this point in the history
Signed-off-by: Miroslav Safr <Miroslav.Safr@gmail.com>
  • Loading branch information
safrm committed Jul 7, 2014
1 parent f130249 commit 6e403f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion efind-test.sh
Expand Up @@ -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"
Expand Down

0 comments on commit 6e403f4

Please sign in to comment.