I'm sure I just made some enemies with this one. See bug #152593 if you want more...
authorChris Gianelloni <wolf31o2@gentoo.org>
Tue, 24 Oct 2006 17:27:31 +0000 (17:27 +0000)
committerChris Gianelloni <wolf31o2@gentoo.org>
Tue, 24 Oct 2006 17:27:31 +0000 (17:27 +0000)
eclass/eutils.eclass

index 121e46194f6035798964b31169b9b2bdf31336e2..e9a703bbb3f5072650343a623e60c2f33f0ec3cc 100644 (file)
@@ -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