summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorDaniel Ahlberg <aliz@gentoo.org>2003-08-26 09:22:16 +0000
committerDaniel Ahlberg <aliz@gentoo.org>2003-08-26 09:22:16 +0000
commitd03dd981b777649eaa033bcef671ba47e64b1fd6 (patch)
treeed803b5c3b941f5f5a0af42ada81bea1b45b1e9b /eclass
parentfixed src_unpack (diff)
downloadgentoo-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.eclass6
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