mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: pre-commit-hook - not checking *.gz files
This commit is contained in:
@ -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`
|
||||||
|
|||||||
Reference in New Issue
Block a user