Exclude build directory from check_license.

Signed-off-by: Tim 'mithro' Ansell <tansell@google.com>
This commit is contained in:
Tim 'mithro' Ansell 2020-05-26 08:13:30 -07:00
parent 072fc6a9d3
commit 4d253e00e1
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ echo
ERROR_FILES=""
FILES_TO_CHECK=`find . \
-size +0 -type f \( -name '*.sh' -o -name '*.py' -o -name 'Makefile' -o -name '*.tcl' \) \
\( -not -path "*/.*/*" -not -path "*/third_party/*" -not -path "*/database/*" -not -path "*/env/*" \)`
\( -not -path "*/.*/*" -not -path "*/third_party/*" -not -path "*/database/*" -not -path "*/env/*" -not -path "*/build/*" \)`
for file in $FILES_TO_CHECK; do
echo "Checking $file"