From: Andreas K. Hüttel Date: Sun, 4 Aug 2019 12:12:46 +0000 (+0200) Subject: sys-libs/glibc: Fix my broken bash code, bug 691378 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=d81ba30c5565874289366899187f0a8ee255fa2a;p=gentoo.git 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 --- 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