commit:     cb46887f4a09108a38d383295c357d786df210c3
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sat Feb  3 01:30:07 2018 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sat Feb  3 01:30:07 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb46887f

sys-libs/glibc: cleanup: use [[, not [

Package-Manager: Portage-2.3.20, Repoman-2.3.6

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

diff --git a/sys-libs/glibc/glibc-2.27-r1.ebuild 
b/sys-libs/glibc/glibc-2.27-r1.ebuild
index 531dbbd5534..83df2bf9e6b 100644
--- a/sys-libs/glibc/glibc-2.27-r1.ebuild
+++ b/sys-libs/glibc/glibc-2.27-r1.ebuild
@@ -657,7 +657,7 @@ sanity_prechecks() {
                        local STAT=$?
                        rm -f "${T}/check-ia32-emulation.elf32"
                        eend $STAT
-                       [ $STAT -eq 0 ] || die "CONFIG_IA32_EMULATION must be 
enabled in the kernel to compile a multilib glibc."
+                       [[ $STAT -eq 0 ]] || die "CONFIG_IA32_EMULATION must be 
enabled in the kernel to compile a multilib glibc."
                fi
 
        fi

diff --git a/sys-libs/glibc/glibc-9999.ebuild b/sys-libs/glibc/glibc-9999.ebuild
index 3903ddf0d1b..ec4e7fdcfb1 100644
--- a/sys-libs/glibc/glibc-9999.ebuild
+++ b/sys-libs/glibc/glibc-9999.ebuild
@@ -657,7 +657,7 @@ sanity_prechecks() {
                        local STAT=$?
                        rm -f "${T}/check-ia32-emulation.elf32"
                        eend $STAT
-                       [ $STAT -eq 0 ] || die "CONFIG_IA32_EMULATION must be 
enabled in the kernel to compile a multilib glibc."
+                       [[ $STAT -eq 0 ]] || die "CONFIG_IA32_EMULATION must be 
enabled in the kernel to compile a multilib glibc."
                fi
 
        fi

Reply via email to