Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Mon, 30 Nov 2015 13:29:50
Message-Id: 1448890163.283da8a1e1ad0a820b1170307a1ba3ec9bbdeb66.mgorny@gentoo
1 commit: 283da8a1e1ad0a820b1170307a1ba3ec9bbdeb66
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Nov 30 13:27:29 2015 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Nov 30 13:29:23 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=283da8a1
7
8 python-utils-r1.eclass: _python_check_locale_sanity, fix quoting issue
9
10 eclass/python-utils-r1.eclass | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
12
13 diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass
14 index 3dfac9e..b163fd8 100644
15 --- a/eclass/python-utils-r1.eclass
16 +++ b/eclass/python-utils-r1.eclass
17 @@ -1170,7 +1170,7 @@ _python_check_locale_sanity() {
18
19 local lc=( {a..z} )
20 local uc=( {A..Z} )
21 - local input=${lc[*]}${uc[*]}
22 + local input="${lc[*]}${uc[*]}"
23
24 local output=$(tr '[:lower:][:upper:]' '[:upper:][:lower:]' <<<"${input}")
25 [[ ${output} == "${uc[*]}${lc[*]}" ]]