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

Diff of /eclass/eutils.eclass

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

Revision 1.73 Revision 1.74
1# Copyright 1999-2003 Gentoo Technologies, Inc. 1# Copyright 1999-2003 Gentoo Technologies, Inc.
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.73 2003/12/01 20:13:00 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.74 2003/12/09 20:18:36 vapier 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.
1101 local l="`basename ${lic}`" 1101 local l="`basename ${lic}`"
1102 1102
1103 # here is where we check for the licenses the user already 1103 # here is where we check for the licenses the user already
1104 # accepted ... if we don't find a match, we make the user accept 1104 # accepted ... if we don't find a match, we make the user accept
1105 local alic 1105 local alic
1106 for alic in ${ACCEPT_LICENSE} ; do 1106 for alic in "${ACCEPT_LICENSE}" ; do
1107 [ "${alic}" == "*" ] && return 0 1107 [ "${alic}" == "*" ] && return 0
1108 [ "${alic}" == "${l}" ] && return 0 1108 [ "${alic}" == "${l}" ] && return 0
1109 done 1109 done
1110 1110
1111 local licmsg="`mymktemp ${T}`" 1111 local licmsg="`mymktemp ${T}`"

Legend:
Removed from v.1.73  
changed lines
  Added in v.1.74

  ViewVC Help
Powered by ViewVC 1.1.20