diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-11-11 04:10:40 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-11-11 04:10:40 +0000 |
commit | 99fdafcd5fd084f7be866141154834179003304e (patch) | |
tree | bb07d1ffc278aa47d7627b19caaf484f617d335d /eclass | |
parent | arm KEYWORDS (Manifest recommit) (diff) | |
download | gentoo-2-99fdafcd5fd084f7be866141154834179003304e.tar.gz gentoo-2-99fdafcd5fd084f7be866141154834179003304e.tar.bz2 gentoo-2-99fdafcd5fd084f7be866141154834179003304e.zip |
fix error checking of epatch #64944
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/eutils.eclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/eutils.eclass b/eclass/eutils.eclass index 7fe61ca3e81a..baf9eb04159d 100644 --- a/eclass/eutils.eclass +++ b/eclass/eutils.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.122 2004/10/31 04:34:08 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.123 2004/11/11 04:10:40 vapier Exp $ # # Author: Martin Schlemmer <azarah@gentoo.org> # @@ -247,7 +247,7 @@ epatch() { local EPATCH_SOURCE="$1/*.${EPATCH_SUFFIX}" fi else - if [ ! -d ${EPATCH_SOURCE} ] + if [ ! -d ${EPATCH_SOURCE} ] || [ -n "$1" ] then if [ -n "$1" -a "${EPATCH_SOURCE}" = "${WORKDIR}/patch" ] then |