/[gentoo-x86]/eclass/eutils.eclass
Gentoo

Diff of /eclass/eutils.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.103 Revision 1.104
1# Copyright 1999-2004 Gentoo Foundation 1# Copyright 1999-2004 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.103 2004/09/17 10:37:58 kugelfang Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.104 2004/09/17 21:19:49 wolf31o2 Exp $
4# 4#
5# Author: Martin Schlemmer <azarah@gentoo.org> 5# Author: Martin Schlemmer <azarah@gentoo.org>
6# 6#
7# This eclass is for general purpose functions that most ebuilds 7# This eclass is for general purpose functions that most ebuilds
8# have to implement themselves. 8# have to implement themselves.
1130 local l="`basename ${lic}`" 1130 local l="`basename ${lic}`"
1131 1131
1132 # here is where we check for the licenses the user already 1132 # here is where we check for the licenses the user already
1133 # accepted ... if we don't find a match, we make the user accept 1133 # accepted ... if we don't find a match, we make the user accept
1134 local alic 1134 local alic
1135 for alic in "${ACCEPT_LICENSE}" ; do 1135 for alic in ${ACCEPT_LICENSE} ; do
1136 [ "${alic}" == "*" ] && return 0 1136 [ "${alic}" == "*" ] && return 0
1137 [ "${alic}" == "${l}" ] && return 0 1137 [ "${alic}" == "${l}" ] && return 0
1138 done 1138 done
1139 1139
1140 local licmsg="`mymktemp ${T}`" 1140 local licmsg="`mymktemp ${T}`"

Legend:
Removed from v.1.103  
changed lines
  Added in v.1.104

  ViewVC Help
Powered by ViewVC 1.1.20