mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-17 14:49:30 -07:00
python-utils-r1.eclass: _python_check_locale_sanity, fix quoting issue
This commit is contained in:
@@ -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[*]}" ]]
|
||||
|
||||
Reference in New Issue
Block a user