From 09c05e86a1096b08eb7483b970207d47d0388665 Mon Sep 17 00:00:00 2001 From: david Date: Tue, 28 Aug 2018 23:20:04 +0200 Subject: Added a maintenance script to modify license text to make it SPDX comatible --- subprojects/spdx/spdx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'subprojects/spdx') 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" } -- cgit v1.2.3