spdx-licenses-list: update to 3.21.

This commit is contained in:
classabbyamp
2023-06-25 18:09:53 -04:00
committed by classabbyamp
parent 9b446ac405
commit e1e20d20ed
3 changed files with 41 additions and 3 deletions
+9
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