aboutsummaryrefslogtreecommitdiff
path: root/subprojects/freeamo/src/make-wiki
diff options
context:
space:
mode:
Diffstat (limited to 'subprojects/freeamo/src/make-wiki')
-rw-r--r--subprojects/freeamo/src/make-wiki4
1 files changed, 2 insertions, 2 deletions
diff --git a/subprojects/freeamo/src/make-wiki b/subprojects/freeamo/src/make-wiki
index 3b7019b..784a7a4 100644
--- a/subprojects/freeamo/src/make-wiki
+++ b/subprojects/freeamo/src/make-wiki
@@ -83,7 +83,7 @@ while IFS= read -r table; do
# End description code
# The homepage field is mandatory so let's remove "null" from it because we don't need to evaluat it
- homepage_url=$(jq .results[$entry].homepage "$file" | sed "s|en-US|enUS|;" | jq -r .enUS | sed "s|null||");
+ homepage_url=$(jq .results[$entry].homepage "$file" | sed "s|en-US|en_US|;" | jq -r .en_US | sed "s|null||");
license_copyright=$(jq -r .results[$entry].authors[].name "$file" );
bayesian_average=$(jq .results[$entry].ratings.bayesian_average "$file");
bayesian_average__simple=$(printf "%.1f" "${bayesian_average//./,}");
@@ -137,7 +137,7 @@ while IFS= read -r table; do
fi
- support_url=$(jq .results[$entry].support_url "$file" | sed "s|en-US|enUS|;" | jq -r .enUS);
+ support_url=$(jq .results[$entry].support_url "$file" | sed "s|en-US|en_US|;" | jq -r .en_US);
last_updated=$(jq -r .results[$entry].last_updated $file | sed "s|T|\n|" | head -n 1 | sed "s|-|/|g");
# List JSON structure: cat json/$file | js '.'