diff options
author | Ian Kelling <iank@fsf.org> | 2018-07-25 22:20:19 -0400 |
---|---|---|
committer | Ian Kelling <iank@fsf.org> | 2018-07-25 22:20:19 -0400 |
commit | b04e6c6a5b5dac037959a2a59ab2a59e8c0c67b7 (patch) | |
tree | e103923faafcec2c0c2e984b4440aef4afd2776e /subprojects/freeamo/src/main_functions | |
parent | 2ed42019b366f3cd6ab8f5bd6c234a19c1ef0629 (diff) |
fix locale, fix allowable error codes
Diffstat (limited to 'subprojects/freeamo/src/main_functions')
-rw-r--r-- | subprojects/freeamo/src/main_functions | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/subprojects/freeamo/src/main_functions b/subprojects/freeamo/src/main_functions index ad7c435..06ddad6 100644 --- a/subprojects/freeamo/src/main_functions +++ b/subprojects/freeamo/src/main_functions @@ -69,7 +69,7 @@ echo "####################" tmp__enGB=$(jq ".results[$entry].$locale_description" "$file" | sed "s|-||;" | jq -r .enGB ) # Use the first avalible if English is not avaliable - tmp=$(jq -r ".results[$entry].$locale_description[]" "$file" | head -n 1) + tmp=$(jq -r ".results[$entry].$locale_description[]" "$file" | head -n 1) || [[ $? == 141 ]] # jq causes superfluous 141 # David will work on this later # if [ "$tmp" == "" ]; then |