diff options
author | Tomas Chvatal <scarabeus@gentoo.org> | 2010-01-20 19:21:19 +0000 |
---|---|---|
committer | Tomas Chvatal <scarabeus@gentoo.org> | 2010-01-20 19:21:19 +0000 |
commit | 10a8b96c3e475932d65cd2cbaf98e4d5c603fd67 (patch) | |
tree | b262d20f7580bfa1cf3ddadb0322c45dfe103df0 /eclass/base.eclass | |
parent | Marking (diff) | |
download | gentoo-2-10a8b96c3e475932d65cd2cbaf98e4d5c603fd67.tar.gz gentoo-2-10a8b96c3e475932d65cd2cbaf98e4d5c603fd67.tar.bz2 gentoo-2-10a8b96c3e475932d65cd2cbaf98e4d5c603fd67.zip |
Do not die when PATCHES content cant be found. Just print evil QA warning.
Diffstat (limited to 'eclass/base.eclass')
-rw-r--r-- | eclass/base.eclass | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/eclass/base.eclass b/eclass/base.eclass index cb2f332f9092..81bbef4523c4 100644 --- a/eclass/base.eclass +++ b/eclass/base.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/base.eclass,v 1.45 2010/01/20 12:57:13 spatz Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/base.eclass,v 1.46 2010/01/20 19:21:19 scarabeus Exp $ # @ECLASS: base.eclass # @MAINTAINER: @@ -87,8 +87,11 @@ base_src_prepare() { EPATCH_SOURCE=${x} epatch EPATCH_SOURCE=${oldval} - else + elif [[ -f "${x}" ]]; then epatch "${x}" + else + eqawarn "File or directory \"${x}\" does not exist." + eqawarn "Check your PATCHES array or add missing file/directory." fi done else |