summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-08-13 15:39:40 +0000
committerMike Frysinger <vapier@gentoo.org>2004-08-13 15:39:40 +0000
commit7ac0329e5545c7bd6abdd88e3a8204a02721a95a (patch)
tree1a5f70e210d9de51d1f29301f90c74bb7b8e577e /eclass/eutils.eclass
parentSee bug #59993 (diff)
downloadhistorical-7ac0329e5545c7bd6abdd88e3a8204a02721a95a.tar.gz
historical-7ac0329e5545c7bd6abdd88e3a8204a02721a95a.tar.bz2
historical-7ac0329e5545c7bd6abdd88e3a8204a02721a95a.zip
if given multiple patches, apply them all
Diffstat (limited to 'eclass/eutils.eclass')
-rw-r--r--eclass/eutils.eclass10
1 files changed, 7 insertions, 3 deletions
diff --git a/eclass/eutils.eclass b/eclass/eutils.eclass
index e8aa704c6e6b..77d05dfd09ad 100644
--- a/eclass/eutils.eclass
+++ b/eclass/eutils.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.93 2004/08/10 01:11:14 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.94 2004/08/13 15:39:40 vapier Exp $
#
# Author: Martin Schlemmer <azarah@gentoo.org>
#
@@ -146,8 +146,12 @@ epatch() {
if [ "$#" -gt 1 ]
then
- eerror "Invalid arguments to epatch()"
- die "Invalid arguments to epatch()"
+ local m=""
+ einfo "${#} patches to apply..."
+ for m in "$@" ; do
+ epatch "${m}"
+ done
+ return 0
fi
if [ -n "$1" -a -f "$1" ]