spdx-licenses-list: update to 3.21.
This commit is contained in:
parent
9b446ac405
commit
e1e20d20ed
3 changed files with 41 additions and 3 deletions
9
common/scripts/check-custom-licenses
Executable file
9
common/scripts/check-custom-licenses
Executable 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
|
Loading…
Add table
Add a link
Reference in a new issue