summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-01-10 05:53:36 +0000
committerMike Frysinger <vapier@gentoo.org>2010-01-10 05:53:36 +0000
commitc9e1a4cb88ca12f561ba11ab1d65fe7ce1ededeb (patch)
tree1907051f488cf3daa4c901d82c18a9f262cb005f /eclass
parentwhitespace (diff)
downloadgentoo-2-c9e1a4cb88ca12f561ba11ab1d65fe7ce1ededeb.tar.gz
gentoo-2-c9e1a4cb88ca12f561ba11ab1d65fe7ce1ededeb.tar.bz2
gentoo-2-c9e1a4cb88ca12f561ba11ab1d65fe7ce1ededeb.zip
epatch - fix unbalanced eshopts_pop #300360
Diffstat (limited to 'eclass')
-rw-r--r--eclass/eutils.eclass8
1 files changed, 3 insertions, 5 deletions
diff --git a/eclass/eutils.eclass b/eclass/eutils.eclass
index 9c4e07224426..97d38f24c38e 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.325 2010/01/09 20:06:24 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.326 2010/01/10 05:53:36 vapier Exp $
# @ECLASS: eutils.eclass
# @MAINTAINER:
@@ -267,11 +267,9 @@ epatch() {
local ex
for ex in ${EPATCH_EXCLUDE} ; do
- if [[ ${patchname} == ${ex} ]] ; then
- eshopts_pop
- continue
- fi
+ [[ ${patchname} == ${ex} ]] && continue
done
+
eshopts_pop
fi