[dpdk-dev] [PATCH 2/4] devtools/check-spdx-tag.sh: ignore JSON files
Stephen Hemminger
stephen at networkplumber.org
Tue Mar 16 22:00:25 CET 2021
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 at networkplumber.org>
---
devtools/check-spdx-tag.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/devtools/check-spdx-tag.sh b/devtools/check-spdx-tag.sh
index a0ec1ed5b6da..bc0b6efcf976 100755
--- a/devtools/check-spdx-tag.sh
+++ b/devtools/check-spdx-tag.sh
@@ -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)
--
2.30.2
More information about the dev
mailing list