python-utils-r1.eclass: _python_check_locale_sanity, fix quoting issue

This commit is contained in:
Michał Górny
2015-11-30 14:27:29 +01:00
parent 3e1ba0100e
commit 283da8a1e1

View File

@@ -1170,7 +1170,7 @@ _python_check_locale_sanity() {
local lc=( {a..z} )
local uc=( {A..Z} )
local input=${lc[*]}${uc[*]}
local input="${lc[*]}${uc[*]}"
local output=$(tr '[:lower:][:upper:]' '[:upper:][:lower:]' <<<"${input}")
[[ ${output} == "${uc[*]}${lc[*]}" ]]