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

Diff of /eclass/base.eclass

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

Revision 1.45 Revision 1.46
1# Copyright 1999-2008 Gentoo Foundation 1# Copyright 1999-2008 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/base.eclass,v 1.45 2010/01/20 12:57:13 spatz Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/base.eclass,v 1.46 2010/01/20 19:21:19 scarabeus Exp $
4 4
5# @ECLASS: base.eclass 5# @ECLASS: base.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# QA Team <qa@gentoo.org> 7# QA Team <qa@gentoo.org>
8# 8#
85 # variable and restore later 85 # variable and restore later
86 oldval=${EPATCH_SOURCE} 86 oldval=${EPATCH_SOURCE}
87 EPATCH_SOURCE=${x} 87 EPATCH_SOURCE=${x}
88 epatch 88 epatch
89 EPATCH_SOURCE=${oldval} 89 EPATCH_SOURCE=${oldval}
90 elif [[ -f "${x}" ]]; then
91 epatch "${x}"
90 else 92 else
91 epatch "${x}" 93 eqawarn "File or directory \"${x}\" does not exist."
94 eqawarn "Check your PATCHES array or add missing file/directory."
92 fi 95 fi
93 done 96 done
94 else 97 else
95 for x in ${PATCHES}; do 98 for x in ${PATCHES}; do
96 debug-print "$FUNCNAME: patching from ${x}" 99 debug-print "$FUNCNAME: patching from ${x}"

Legend:
Removed from v.1.45  
changed lines
  Added in v.1.46

  ViewVC Help
Powered by ViewVC 1.1.20