aboutsummaryrefslogtreecommitdiff
path: root/subprojects/freeamo/src/get-licenses
diff options
context:
space:
mode:
authorIan Kelling <iank@fsf.org>2018-07-25 21:53:30 -0400
committerIan Kelling <iank@fsf.org>2018-07-25 21:53:30 -0400
commit2ed42019b366f3cd6ab8f5bd6c234a19c1ef0629 (patch)
tree2a11a062a8208d6bdc46cb85b9f82152234a5105 /subprojects/freeamo/src/get-licenses
parentcac3d5c10aa9123b968c503d5ae2f75b5d4eac9c (diff)
fix 141 broken pipe error
The error could be ignored in this case but better to just remove quotes properly and avoid it.
Diffstat (limited to 'subprojects/freeamo/src/get-licenses')
-rw-r--r--subprojects/freeamo/src/get-licenses2
1 files changed, 1 insertions, 1 deletions
diff --git a/subprojects/freeamo/src/get-licenses b/subprojects/freeamo/src/get-licenses
index 610d614..be814f4 100644
--- a/subprojects/freeamo/src/get-licenses
+++ b/subprojects/freeamo/src/get-licenses
@@ -101,7 +101,7 @@ function get-licenses--filter {
amo_variables
amo_variables__licenses
- # license="$(jq ".license.name" "$run_path/build/json/current_versions/$current_version__id.json" | sed "s|en-US|enUS|;" | jq .enUS | sed "s|^\"||; s|\"$||;")"
+ # license="$(jq ".license.name" "$run_path/build/json/current_versions/$current_version__id.json" | sed "s|en-US|enUS|;" | jq -r .enUS )"
# echo "$run_path/build/json/current_versions/$(jq ".results[$entry].current_version.id" "$file")"