mirror of
https://gitee.com/openharmony/third_party_libsnd
synced 2025-02-17 01:20:02 +00:00
Scripts/git-pre-commit-hook : Skip cstyle checking on src/ALAC/ code.
This commit is contained in:
parent
d93bfaaa75
commit
e08812c4cf
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user