summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2010-01-10 15:49:01 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2010-01-10 15:49:01 +0000
commit321269d6881d046a69fba86ddf9ddb430921f9c7 (patch)
treeb4a862ea6e3ca8a7f74bb8dc9bc01802b75c217d /eclass
parentWhitespace (diff)
downloadgentoo-2-321269d6881d046a69fba86ddf9ddb430921f9c7.tar.gz
gentoo-2-321269d6881d046a69fba86ddf9ddb430921f9c7.tar.bz2
gentoo-2-321269d6881d046a69fba86ddf9ddb430921f9c7.zip
[eutils.eclass] QA: Fix EPATCH_EXCLUDE not working at all.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/eutils.eclass8
1 files changed, 5 insertions, 3 deletions
diff --git a/eclass/eutils.eclass b/eclass/eutils.eclass
index 97d38f24c38e..dce36d4c07e9 100644
--- a/eclass/eutils.eclass
+++ b/eclass/eutils.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.326 2010/01/10 05:53:36 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.327 2010/01/10 15:49:01 scarabeus Exp $
# @ECLASS: eutils.eclass
# @MAINTAINER:
@@ -265,12 +265,14 @@ epatch() {
# let people use globs in the exclude
eshopts_push -o noglob
- local ex
+ local ex skip
for ex in ${EPATCH_EXCLUDE} ; do
- [[ ${patchname} == ${ex} ]] && continue
+ [[ ${patchname} == ${ex} ]] && skip=1
done
eshopts_pop
+
+ [[ ${skip} = 1 ]] && continue
fi
if [[ ${SINGLE_PATCH} == "yes" ]] ; then