From: Stephen Hemminger Date: Tue, 16 Mar 2021 21:00:25 +0000 (-0700) Subject: devtools: ignore JSON files for SPDX check X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=a8a060d3f68818e63a0ee6cb2123abd8b6b6cabe;p=dpdk.git devtools: ignore JSON files for SPDX check 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 --- diff --git a/devtools/check-spdx-tag.sh b/devtools/check-spdx-tag.sh index 3f2912e922..a606ef85f0 100755 --- a/devtools/check-spdx-tag.sh +++ b/devtools/check-spdx-tag.sh @@ -25,8 +25,8 @@ check_spdx() { ':^*/Kbuild' ':^*/README' \ ':^license/' ':^config/' ':^buildtools/' \ ':^*.cocci' ':^*.abignore' \ - ':^*.map' ':^*.ini' ':^*.data' ':^*.cfg' ':^*.txt' \ - ':^*.svg' ':^*.png'\ + ':^*.map' ':^*.ini' ':^*.data' ':^*.json' ':^*.cfg' ':^*.txt' \ + ':^*.svg' ':^*.png' \ > $tmpfile errors=$(wc -l < $tmpfile)