Merge pull request #15672 from aabadie/pr/dist/tools_changed_files_fix
dist/tools: don't redefine EXCLUDE when not necessary
This commit is contained in:
commit
be8660fad9
3
dist/tools/codespell/check.sh
vendored
3
dist/tools/codespell/check.sh
vendored
@ -23,8 +23,7 @@ cd $RIOTBASE
|
||||
. "${RIOTTOOLS}"/ci/changed_files.sh
|
||||
|
||||
FILEREGEX='\.([CcHh]|[ch]pp|sh|py|md|txt)$'
|
||||
EXCLUDE='^(.+/vendor/)'
|
||||
FILES=$(FILEREGEX=${FILEREGEX} EXCLUDE=${EXCLUDE} changed_files)
|
||||
FILES=$(FILEREGEX=${FILEREGEX} changed_files)
|
||||
|
||||
if [ -z "${FILES}" ]; then
|
||||
exit 0
|
||||
|
||||
4
dist/tools/vera++/check.sh
vendored
4
dist/tools/vera++/check.sh
vendored
@ -12,9 +12,7 @@ CURDIR=$(cd "$(dirname "$0")" && pwd)
|
||||
: "${WARNING:=1}"
|
||||
|
||||
. "$RIOTBASE"/dist/tools/ci/changed_files.sh
|
||||
FILEREGEX='\.([CcHh]|[ch]pp)$'
|
||||
EXCLUDE='^(.+/vendor/)'
|
||||
FILES=$(FILEREGEX=${FILEREGEX} EXCLUDE=${EXCLUDE} changed_files)
|
||||
FILES=$(changed_files)
|
||||
|
||||
if [ -z "${FILES}" ]; then
|
||||
exit 0
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user