diff --git a/tools/test/travis-ci/doxy-spellchecker/spell.sh b/tools/test/travis-ci/doxy-spellchecker/spell.sh index 1e4931cbc4..42968520a6 100755 --- a/tools/test/travis-ci/doxy-spellchecker/spell.sh +++ b/tools/test/travis-ci/doxy-spellchecker/spell.sh @@ -114,7 +114,9 @@ while read file; do echo "_________________________________" fi -done < <(find "${1}" -type d -iname "*target*" -prune -o -name '*.h' -print) +# ${1}: directory to check +# ${2}: file containing a list of paths (regex) to exclude +done < <(find "${1}" -type d -iname "*target*" -prune -o -name '*.h' -print | grep -v -f "${2}") echo "----------------------------------------------------------------------------------" echo "Total Errors Found: ${ERRORS}"