check-commit: exclude some more directories

This commit is contained in:
XGQT 2020-04-12 20:55:01 +02:00
parent d52729186c
commit 8b65f35623
No known key found for this signature in database
GPG Key ID: 2089DEC77862433A

View File

@ -42,8 +42,11 @@ pkgcheck scan --commits || test_success=false
for file in $(git diff --name-only HEAD HEAD~1)
do
commit_dir="$(dirname "${file}")"
[[ "${commit_dir}" = *files ]] && continue
[[ "${commit_dir}" = *eclass ]] && continue
[[ "${commit_dir}" = *files ]] && continue
[[ "${commit_dir}" = *licenses* ]] && continue
[[ "${commit_dir}" = *metadata* ]] && continue
[[ "${commit_dir}" = *profiles ]] && continue
if cd "${commit_dir}"; then
echo
echo "Directory $(pwd):"