From 321269d6881d046a69fba86ddf9ddb430921f9c7 Mon Sep 17 00:00:00 2001 From: Tomas Chvatal Date: Sun, 10 Jan 2010 15:49:01 +0000 Subject: [eutils.eclass] QA: Fix EPATCH_EXCLUDE not working at all. --- eclass/eutils.eclass | 8 +++++--- 1 file 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 -- cgit v1.2.3-65-gdbad