summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2006-10-24 17:27:31 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2006-10-24 17:27:31 +0000
commitec80b93b6f4963f854baa172bd0ae81d5fbdfec7 (patch)
tree6630ea4f43d048b14d7e93d38b63431214db4023 /eclass
parentDropping ~ppc-macos keyword (diff)
downloadgentoo-2-ec80b93b6f4963f854baa172bd0ae81d5fbdfec7.tar.gz
gentoo-2-ec80b93b6f4963f854baa172bd0ae81d5fbdfec7.tar.bz2
gentoo-2-ec80b93b6f4963f854baa172bd0ae81d5fbdfec7.zip
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.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/eutils.eclass4
1 files 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