diff options
author | david <public@beloved.name> | 2018-08-08 20:44:07 +0200 |
---|---|---|
committer | david <public@beloved.name> | 2018-08-08 20:44:07 +0200 |
commit | d8070e699d70268ef9eb86c06e33c6e5912827dd (patch) | |
tree | 41d15cade205010b0817375ddaf777cd49087d1b /subprojects/freeamo/src/main_functions | |
parent | 08071bef74544b0e4905d509b94a12e64dd3811b (diff) |
FreeAMO: Added SPDX license identifiers
Diffstat (limited to 'subprojects/freeamo/src/main_functions')
-rw-r--r-- | subprojects/freeamo/src/main_functions | 1 |
1 files changed, 0 insertions, 1 deletions
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 |