diff options
author | Daniel Ahlberg <aliz@gentoo.org> | 2003-08-26 09:22:16 +0000 |
---|---|---|
committer | Daniel Ahlberg <aliz@gentoo.org> | 2003-08-26 09:22:16 +0000 |
commit | d03dd981b777649eaa033bcef671ba47e64b1fd6 (patch) | |
tree | ed803b5c3b941f5f5a0af42ada81bea1b45b1e9b /eclass | |
parent | fixed src_unpack (diff) | |
download | gentoo-2-d03dd981b777649eaa033bcef671ba47e64b1fd6.tar.gz gentoo-2-d03dd981b777649eaa033bcef671ba47e64b1fd6.tar.bz2 gentoo-2-d03dd981b777649eaa033bcef671ba47e64b1fd6.zip |
Check if patches.txt before trying to run dodoc
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/kernel.eclass | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/eclass/kernel.eclass b/eclass/kernel.eclass index be92e1a78d16..aabccd5e38ce 100644 --- a/eclass/kernel.eclass +++ b/eclass/kernel.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/kernel.eclass,v 1.31 2003/08/07 22:29:53 johnm Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/kernel.eclass,v 1.32 2003/08/26 09:22:16 aliz Exp $ # # This eclass contains the common functions to be used by all lostlogic # based kernel ebuilds @@ -127,7 +127,9 @@ kernel_src_install() { echo "XX_${file}*" >> patches.txt cat ${WORKDIR}/${KV}/docs/${file} >> patches.txt done - dodoc patches.txt + if [ -f patches.txt ]; then + dodoc patches.txt + fi mv ${WORKDIR}/linux* ${D}/usr/src else #linux-headers |