From b04e6c6a5b5dac037959a2a59ab2a59e8c0c67b7 Mon Sep 17 00:00:00 2001 From: Ian Kelling Date: Wed, 25 Jul 2018 22:20:19 -0400 Subject: fix locale, fix allowable error codes --- subprojects/freeamo/src/main_functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'subprojects/freeamo/src/main_functions') 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 -- cgit v1.2.3