/[gentoo-x86]/eclass/eutils.eclass
Gentoo

Diff of /eclass/eutils.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.327 Revision 1.328
1# Copyright 1999-2009 Gentoo Foundation 1# Copyright 1999-2009 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.327 2010/01/10 15:49:01 scarabeus Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.328 2010/01/10 15:58:58 scarabeus Exp $
4 4
5# @ECLASS: eutils.eclass 5# @ECLASS: eutils.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# base-system@gentoo.org 7# base-system@gentoo.org
8# @BLURB: many extra (but common) functions that are used in ebuilds 8# @BLURB: many extra (but common) functions that are used in ebuilds
263 # Let people filter things dynamically 263 # Let people filter things dynamically
264 if [[ -n ${EPATCH_EXCLUDE} ]] ; then 264 if [[ -n ${EPATCH_EXCLUDE} ]] ; then
265 # let people use globs in the exclude 265 # let people use globs in the exclude
266 eshopts_push -o noglob 266 eshopts_push -o noglob
267 267
268 local ex skip 268 local ex
269 for ex in ${EPATCH_EXCLUDE} ; do 269 for ex in ${EPATCH_EXCLUDE} ; do
270 [[ ${patchname} == ${ex} ]] && skip=1 270 if [[ ${patchname} == ${ex} ]] ; then
271 eshopts_pop
272 continue 2
273 fi
271 done 274 done
272 275
273 eshopts_pop 276 eshopts_pop
274
275 [[ ${skip} = 1 ]] && continue
276 fi 277 fi
277 278
278 if [[ ${SINGLE_PATCH} == "yes" ]] ; then 279 if [[ ${SINGLE_PATCH} == "yes" ]] ; then
279 if [[ -n ${EPATCH_SINGLE_MSG} ]] ; then 280 if [[ -n ${EPATCH_SINGLE_MSG} ]] ; then
280 einfo "${EPATCH_SINGLE_MSG}" 281 einfo "${EPATCH_SINGLE_MSG}"

Legend:
Removed from v.1.327  
changed lines
  Added in v.1.328

  ViewVC Help
Powered by ViewVC 1.1.20