From 9de707be2bac8d15242aed6739e673f23a9db864 Mon Sep 17 00:00:00 2001 From: Chris Gianelloni Date: Tue, 24 Oct 2006 17:27:31 +0000 Subject: [PATCH] I'm sure I just made some enemies with this one. See bug #152593 if you want more information, but I've removed the ability to use ACCEPT_LICENSE=\* in make.conf for legal reasons. --- eclass/eutils.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/eutils.eclass b/eclass/eutils.eclass index 121e46194f60..e9a703bbb3f5 100644 --- a/eclass/eutils.eclass +++ b/eclass/eutils.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.254 2006/10/18 21:35:19 drizzt Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.255 2006/10/24 17:27:31 wolf31o2 Exp $ # # This eclass is for general purpose functions that most ebuilds # have to implement themselves. @@ -1212,7 +1212,7 @@ check_license() { local alic set -o noglob #so that bash doesn't expand "*" for alic in ${ACCEPT_LICENSE} ; do - if [[ ${alic} == * || ${alic} == ${l} ]]; then + if [[ ${alic} == ${l} ]]; then set +o noglob; set -${shopts} #reset old shell opts return 0 fi -- 2.26.2