From af277ec7ff5319ef93277706d0455bc0ba703c7e Mon Sep 17 00:00:00 2001 From: Jeremy Huddleston Date: Fri, 7 Oct 2005 05:37:16 +0000 Subject: Cleaned up get_all_abis. --- eclass/multilib.eclass | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'eclass/multilib.eclass') diff --git a/eclass/multilib.eclass b/eclass/multilib.eclass index a48ac5b18c2c..5f987c4c00e2 100644 --- a/eclass/multilib.eclass +++ b/eclass/multilib.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/multilib.eclass,v 1.39 2005/10/07 03:39:15 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/multilib.eclass,v 1.40 2005/10/07 05:37:16 eradicator Exp $ # # Author: Jeremy Huddleston # @@ -244,14 +244,14 @@ get_install_abis() { get_all_abis() { local order="" - if [ -z "${MULTILIB_ABIS}" ]; then + if [[ -z ${MULTILIB_ABIS} ]] ; then echo "default" return 0 fi for x in ${MULTILIB_ABIS}; do - if [ "${x}" != "${DEFAULT_ABI}" ]; then - order="${order:+${order }}${x}" + if [[ ${x} != ${DEFAULT_ABI} ]] ; then + order="${order:+${order} }${x}" fi done order="${order:+${order} }${DEFAULT_ABI}" @@ -592,7 +592,7 @@ multilib_env() { export LIBDIR_n64="lib64" export MULTILIB_ABIS="n64 n32 o32" - export DEFAULT_ABI="n32" + export DEFAULT_ABI="n32" ;; powerpc64*) export CFLAGS_ppc=${CFLAGS_ppc--m32} -- cgit v1.2.3-65-gdbad