ENH: pre-commit-hook - not checking *.gz files

This commit is contained in:
andy
2013-06-04 14:55:00 +01:00
parent 210807a025
commit fdad025bdf

View File

@ -147,7 +147,7 @@ checkIllegalCode()
do do
case "$f" in case "$f" in
# exclude potential makefiles # exclude potential makefiles
(*[Mm]akefile* | wmake/rules/* | *.f* | *.v[cf]proj | *.pdf | *.png | *.html | *.gif | *.css) (*[Mm]akefile* | wmake/rules/* | *.f* | *.v[cf]proj | *.pdf | *.png | *.html | *.gif | *.css | *.gz)
;; ;;
(*) (*)
fileType=`file -b $f` fileType=`file -b $f`