sys-libs/glibc: cleanup: use [[, not [
authorSergei Trofimovich <slyfox@gentoo.org>
Sat, 3 Feb 2018 01:30:07 +0000 (01:30 +0000)
committerSergei Trofimovich <slyfox@gentoo.org>
Sat, 3 Feb 2018 01:30:07 +0000 (01:30 +0000)
Package-Manager: Portage-2.3.20, Repoman-2.3.6

sys-libs/glibc/glibc-2.27-r1.ebuild
sys-libs/glibc/glibc-9999.ebuild

index 531dbbd5534a1f90e86b3063bbae3321a513d3e9..83df2bf9e6b4e4ac1bc69be15bce7992d1a37021 100644 (file)
@@ -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
index 3903ddf0d1bd24f0744aec924cd0ed1ccb2c03a4..ec4e7fdcfb13ea031d1e38240f5aa21a81bc44c5 100644 (file)
@@ -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