diff options
Diffstat (limited to 'eclass/eutils.eclass')
-rw-r--r-- | eclass/eutils.eclass | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/eutils.eclass b/eclass/eutils.eclass index 2a3d48b59e1a..1483a1fbaa1e 100644 --- a/eclass/eutils.eclass +++ b/eclass/eutils.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.300 2008/03/01 21:59:54 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.301 2008/04/05 22:38:26 zmedico Exp $ # @ECLASS: eutils.eclass # @MAINTAINER: @@ -1712,7 +1712,7 @@ built_with_use() { fi if [[ ${hidden} == "no" ]] ; then - local IUSE_BUILT=$(<${IUSEFILE}) + local IUSE_BUILT=( $(<"${IUSEFILE}") ) # Don't check USE_EXPAND #147237 local expand for expand in $(echo ${USE_EXPAND} | tr '[:upper:]' '[:lower:]') ; do @@ -1722,7 +1722,7 @@ built_with_use() { fi done if [[ -n ${expand} ]] ; then - if ! has $1 ${IUSE_BUILT} ; then + if ! has $1 ${IUSE_BUILT[@]#[-+]} ; then case ${missing_action} in true) return 0;; false) return 1;; |