sys-libs/glibc: Fix my broken bash code, bug 691378
authorAndreas K. Hüttel <dilfridge@gentoo.org>
Sun, 4 Aug 2019 12:12:46 +0000 (14:12 +0200)
committerAndreas K. Hüttel <dilfridge@gentoo.org>
Sun, 4 Aug 2019 12:13:31 +0000 (14:13 +0200)
This is the real fix for bug 691378.

Closes: https://bugs.gentoo.org/691378
Package-Manager: Portage-2.3.70, Repoman-2.3.16
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
sys-libs/glibc/glibc-2.30.ebuild
sys-libs/glibc/glibc-9999.ebuild

index 9bdb5a434c82e6265dba97873c7009f7628fdf08..3132a44fa53a9ffb9a1a1385ca23bfb8d888074a 100644 (file)
@@ -1143,7 +1143,7 @@ run_locale_gen() {
        local root="$1"
        local inplace=""
 
-       if [[ ${root}=="--inplace-glibc" ]] ; then
+       if [[ "${root}" == "--inplace-glibc" ]] ; then
                inplace="--inplace-glibc"
                root="$2"
        fi
index c9d06b2049949ea6475837dd0cf1da27b80551ca..06154dba38f30703ba936bf3fdf9543137f479d4 100644 (file)
@@ -1143,7 +1143,7 @@ run_locale_gen() {
        local root="$1"
        local inplace=""
 
-       if [[ ${root}=="--inplace-glibc" ]] ; then
+       if [[ "${root}" == "--inplace-glibc" ]] ; then
                inplace="--inplace-glibc"
                root="$2"
        fi