Skip to content

Commit

Permalink
Merge pull request #697 from edwintorok/master
Browse files Browse the repository at this point in the history
[maintenance]: SPDX license identifiers are not case sensitive
  • Loading branch information
psafont authored Sep 13, 2024
2 parents 517cfe2 + 8a78e05 commit 2f968da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/license-check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ do
errors=true
fi
license=$(grep -Po 'license: \K.*' $file| tr -d '"')
if echo $license | grep -qxvf .github/known-licenses.txt; then
if echo $license | grep -iqxvf .github/known-licenses.txt; then
echo "Unrecognised license used for $name: $license. Is it a valid a SPDX identifier?"
errors=true
fi
Expand Down

0 comments on commit 2f968da

Please sign in to comment.