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
commit2e6dd923150d934463ce5169588a4bc87c7c37d0 (patch)
tree2896bd65f8b15e27195220fee1a124746a657152 /eclass
parentwhitespace (diff)
downloadhistorical-2e6dd923150d934463ce5169588a4bc87c7c37d0.tar.gz
historical-2e6dd923150d934463ce5169588a4bc87c7c37d0.tar.bz2
historical-2e6dd923150d934463ce5169588a4bc87c7c37d0.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