Scripts/git-pre-commit-hook : Skip cstyle checking on src/ALAC/ code.

This commit is contained in:
Erik de Castro Lopo 2012-03-10 10:56:43 +11:00
parent d93bfaaa75
commit e08812c4cf

View File

@ -43,7 +43,9 @@ if test -n "$missing_copyright_year" ; then
cfiles=""
for f in $files ; do
if test `echo $f | grep -c "\.[ch]$"` -gt 0 ; then
if test `dirname $f` = "src/ALAC" ; then
echo "Skipping cstyle checking on $f"
elif test `echo $f | grep -c "\.[ch]$"` -gt 0 ; then
cfiles="$cfiles $f"
fi
done