From d81ba30c5565874289366899187f0a8ee255fa2a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andreas=20K=2E=20H=C3=BCttel?= Date: Sun, 4 Aug 2019 14:12:46 +0200 Subject: [PATCH] sys-libs/glibc: Fix my broken bash code, bug 691378 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- 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 9bdb5a434c82..3132a44fa53a 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 c9d06b204994..06154dba38f3 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 -- 2.26.2