python-utils-r1.eclass: _python_check_locale_sanity, fix quoting issue
authorMichał Górny <mgorny@gentoo.org>
Mon, 30 Nov 2015 13:27:29 +0000 (14:27 +0100)
committerMichał Górny <mgorny@gentoo.org>
Mon, 30 Nov 2015 13:29:23 +0000 (14:29 +0100)
eclass/python-utils-r1.eclass

index 3dfac9ed0082178de0b9c9b15ad7d903b8f494e2..b163fd8ea1d8b0cd6f32e83c3fe19c1737abb028 100644 (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[*]}" ]]