mirror of
https://github.com/openharmony/third_party_libsnd.git
synced 2026-07-18 16:54:31 -04:00
Scripts/git-pre-commit-hook : Skip cstyle checking on src/ALAC/ code.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user