[2/4] devtools/check-spdx-tag.sh: ignore JSON files
Checks
Commit Message
The JSON file format does not support comments so there is no good
way to add SPDX license identifier. This solves false positives
that arrive from the use of JSON in crypto dev tests.
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
devtools/check-spdx-tag.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
@@ -26,7 +26,7 @@ check_spdx() {
':^license/' ':^config/' ':^buildtools/' \
':^*.cocci' ':^*.abignore' \
':^*.def' ':^*.map' ':^*.ini' ':^*.data' ':^*.cfg' ':^*.txt' \
- ':^*.svg' ':^*.png'\
+ ':^*.svg' ':^*.png' ':^*.json' \
> $tmpfile
errors=$(wc -l < $tmpfile)