From d8070e699d70268ef9eb86c06e33c6e5912827dd Mon Sep 17 00:00:00 2001 From: david Date: Wed, 8 Aug 2018 20:44:07 +0200 Subject: FreeAMO: Added SPDX license identifiers --- subprojects/freeamo/src/main_functions | 1 - 1 file changed, 1 deletion(-) (limited to 'subprojects/freeamo/src/main_functions') diff --git a/subprojects/freeamo/src/main_functions b/subprojects/freeamo/src/main_functions index 8e4907a..daa779f 100644 --- a/subprojects/freeamo/src/main_functions +++ b/subprojects/freeamo/src/main_functions @@ -69,7 +69,6 @@ function do-locale { tmp__en_GB=$(jq ".results[$entry].$locale_description" "$file" | sed "s|en-GB|en_GB|" | jq -r .en_GB ) # Use the first avalible if English is not avaliable tmp=$(jq -r ".results[$entry] | select(.$locale_description != null) | .$locale_description[]" "$file" | head -n 1) || [[ $? == 141 ]] # Avoid `head -n 1` error `returned 141` - if [ "$tmp__en_US" != "null" ]; then -- cgit v1.2.3