util/lint: Ignore binary files for cb lowercase linter
The binary files were not being correctly filtered. This tells grep to just ignore binary files. This isn't particularly important inside the git tree, but for releases where we can't use git grep, it becomes an issue. Change-Id: I2852ea1e8b0f337aa5c78daa5e9dbd0c3d6768a9 Signed-off-by: Martin Roth <gaumless@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/88234 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
This commit is contained in:
parent
58d450d2dc
commit
5228b3ef7b
1 changed files with 2 additions and 2 deletions
|
|
@ -12,7 +12,7 @@ LINTDIR="$(
|
||||||
# shellcheck source=helper_functions.sh
|
# shellcheck source=helper_functions.sh
|
||||||
. "${LINTDIR}/helper_functions.sh"
|
. "${LINTDIR}/helper_functions.sh"
|
||||||
|
|
||||||
EXCLUDE='^3rdparty/\|util/crossgcc/xgcc\|Binary file\|coreboot\|COREBOOT\|CorebootPayload\|CorebootModule\|minnowboard.org/Coreboot\|.*\.patch$\|CorebootBdsLib\|^payloads/external'
|
EXCLUDE='^3rdparty/\|util/crossgcc/xgcc\|coreboot\|COREBOOT\|CorebootPayload\|CorebootModule\|minnowboard.org/Coreboot\|.*\.patch$\|CorebootBdsLib\|^payloads/external'
|
||||||
|
|
||||||
# # Check last commit message if the code is in a git repo
|
# # Check last commit message if the code is in a git repo
|
||||||
if [ "${IN_GIT_TREE}" -eq 1 ]; then
|
if [ "${IN_GIT_TREE}" -eq 1 ]; then
|
||||||
|
|
@ -21,4 +21,4 @@ if [ "${IN_GIT_TREE}" -eq 1 ]; then
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
${GREP_FILES} -in "coreboot" | grep -v "$EXCLUDE";
|
${GREP_FILES} -inI "coreboot" | grep -v "$EXCLUDE";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue