commit:     d81ba30c5565874289366899187f0a8ee255fa2a
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Sun Aug  4 12:12:46 2019 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Sun Aug  4 12:13:31 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d81ba30c

sys-libs/glibc: Fix my broken bash code, bug 691378

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 <AT> gentoo.org>

 sys-libs/glibc/glibc-2.30.ebuild | 2 +-
 sys-libs/glibc/glibc-9999.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-libs/glibc/glibc-2.30.ebuild b/sys-libs/glibc/glibc-2.30.ebuild
index 9bdb5a434c8..3132a44fa53 100644
--- a/sys-libs/glibc/glibc-2.30.ebuild
+++ b/sys-libs/glibc/glibc-2.30.ebuild
@@ -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

diff --git a/sys-libs/glibc/glibc-9999.ebuild b/sys-libs/glibc/glibc-9999.ebuild
index c9d06b20499..06154dba38f 100644
--- a/sys-libs/glibc/glibc-9999.ebuild
+++ b/sys-libs/glibc/glibc-9999.ebuild
@@ -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

Reply via email to