diff options
author | david <public@beloved.name> | 2018-08-28 23:20:04 +0200 |
---|---|---|
committer | david <public@beloved.name> | 2018-08-28 23:20:04 +0200 |
commit | 09c05e86a1096b08eb7483b970207d47d0388665 (patch) | |
tree | fc2e822f5c404e1fdc6d0dcb70c3fdb3f48d512d /subprojects/spdx | |
parent | f942311de2f6640684a611eed97265462c07f97e (diff) |
Added a maintenance script to modify license text to make it SPDX comatible
Diffstat (limited to 'subprojects/spdx')
-rwxr-xr-x | subprojects/spdx/spdx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/subprojects/spdx/spdx b/subprojects/spdx/spdx index 7204d82..eb4c76f 100755 --- a/subprojects/spdx/spdx +++ b/subprojects/spdx/spdx @@ -44,11 +44,14 @@ function build_wiki { }} [[Category:$freedom license]] +[[Category:SPDX short identifier]] " > "$run_path/build/wiki/$(jq -r .licenses[$entry].licenseId licenses.json).wiki" echo "#REDIRECT [[License:$(jq -r .licenses[$entry].licenseId licenses.json)]] -[[Category:$freedom license full name]]" > "$run_path/build/wiki/$redirect_full_name" +[[Category:$freedom license full name]] +[[Category:SPDX full name]] +" > "$run_path/build/wiki/$redirect_full_name" } |