summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorDan Armak <danarmak@gentoo.org>2002-08-10 12:53:02 +0000
committerDan Armak <danarmak@gentoo.org>2002-08-10 12:53:02 +0000
commita25f6272cc071c5c1a85135a5037ff6870af2383 (patch)
treedd0d22a36495b3a2684fe9a345e37d688bd8084f /eclass
parentAdded >= for perl-5.8.0 to cover -r1, etc (diff)
downloadgentoo-2-a25f6272cc071c5c1a85135a5037ff6870af2383.tar.gz
gentoo-2-a25f6272cc071c5c1a85135a5037ff6870af2383.tar.bz2
gentoo-2-a25f6272cc071c5c1a85135a5037ff6870af2383.zip
fix bug reported by Daniel Mettler - files getting patched twice
Diffstat (limited to 'eclass')
-rw-r--r--eclass/cvs.eclass5
1 files changed, 4 insertions, 1 deletions
diff --git a/eclass/cvs.eclass b/eclass/cvs.eclass
index e83cf7eeeec3..c3d63bc7c210 100644
--- a/eclass/cvs.eclass
+++ b/eclass/cvs.eclass
@@ -1,7 +1,7 @@
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Dan Armak <danarmak@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/eclass/cvs.eclass,v 1.10 2002/08/03 15:31:09 danarmak Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/cvs.eclass,v 1.11 2002/08/10 12:53:02 danarmak Exp $
# This eclass provides the generic cvs fetching functions.
ECLASS=cvs
@@ -218,6 +218,9 @@ cvs_src_unpack() {
debug-print "patching from $x"
patch -p0 < $x
done
+ # make sure we don't try to apply patches more than once, since
+ # cvs_src_unpack is usually called several times from e.g. kde-source_src_unpack
+ export PATCHES=""
fi
}