spdx-licenses-list: update to 3.21.

This commit is contained in:
classabbyamp 2023-06-24 16:11:16 -04:00 committed by classabbyamp
parent 9b446ac405
commit e1e20d20ed
3 changed files with 41 additions and 3 deletions

View file

@ -0,0 +1,9 @@
#!/bin/bash
# checks for licenses that are no longer custom in packages
mapfile -t licenses < common/travis/license.lst
for lic in "${licenses[@]}"; do
grep -rl "custom:$lic"'[,"]' --include=template srcpkgs \
| cut -d/ -f2 | xargs -rn1 printf "%s: $lic is no longer custom\n"
done