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

Diff of /eclass/eutils.eclass

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

Revision 1.93 Revision 1.94
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.93 2004/08/10 01:11:14 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.94 2004/08/13 15:39:40 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.
144 local SINGLE_PATCH="no" 144 local SINGLE_PATCH="no"
145 local x="" 145 local x=""
146 146
147 if [ "$#" -gt 1 ] 147 if [ "$#" -gt 1 ]
148 then 148 then
149 eerror "Invalid arguments to epatch()" 149 local m=""
150 die "Invalid arguments to epatch()" 150 einfo "${#} patches to apply..."
151 for m in "$@" ; do
152 epatch "${m}"
153 done
154 return 0
151 fi 155 fi
152 156
153 if [ -n "$1" -a -f "$1" ] 157 if [ -n "$1" -a -f "$1" ]
154 then 158 then
155 SINGLE_PATCH="yes" 159 SINGLE_PATCH="yes"

Legend:
Removed from v.1.93  
changed lines
  Added in v.1.94

  ViewVC Help
Powered by ViewVC 1.1.20