mirror of https://github.com/openXC7/prjxray.git
Exclude build directory from check_license.
Signed-off-by: Tim 'mithro' Ansell <tansell@google.com>
This commit is contained in:
parent
072fc6a9d3
commit
4d253e00e1
|
|
@ -16,7 +16,7 @@ echo
|
||||||
ERROR_FILES=""
|
ERROR_FILES=""
|
||||||
FILES_TO_CHECK=`find . \
|
FILES_TO_CHECK=`find . \
|
||||||
-size +0 -type f \( -name '*.sh' -o -name '*.py' -o -name 'Makefile' -o -name '*.tcl' \) \
|
-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
|
for file in $FILES_TO_CHECK; do
|
||||||
echo "Checking $file"
|
echo "Checking $file"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue