aboutsummaryrefslogtreecommitdiff
path: root/subprojects/freeamo/src/unmaintained
diff options
context:
space:
mode:
Diffstat (limited to 'subprojects/freeamo/src/unmaintained')
-rw-r--r--subprojects/freeamo/src/unmaintained/bad_names4
1 files changed, 2 insertions, 2 deletions
diff --git a/subprojects/freeamo/src/unmaintained/bad_names b/subprojects/freeamo/src/unmaintained/bad_names
index 6ba8891..c55cb34 100644
--- a/subprojects/freeamo/src/unmaintained/bad_names
+++ b/subprojects/freeamo/src/unmaintained/bad_names
@@ -2,11 +2,11 @@
function search-pages--filter__bad_names() {
-name=$(jq .results[$entry].name "$run_path/build/json/$file" | sed "s|en-US|enUS|;" | jq .enUS | sed "s|^\"||; s|\"$||;");
+name=$(jq .results[$entry].name "$run_path/build/json/$file" | sed "s|en-US|enUS|;" | jq -r .enUS);
if [ "$name" == "null" ]; then
-name=$(jq .results[$entry].name "$run_path/build/json/$file" | sed "s|en-GB|enGB|;" | jq .enGB | sed "s|^\"||; s|\"$||;");
+name=$(jq .results[$entry].name "$run_path/build/json/$file" | sed "s|en-GB|enGB|;" | jq -r .enGB);
fi