summaryrefslogtreecommitdiff
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
commitf7ab1a84f2ebaa087f1d4507d6ecbfcba7ca090b (patch)
tree6e10d21360adb0e7c26e83db47c028f016208105 /eclass/kernel.eclass
parentfixed src_unpack (diff)
downloadhistorical-f7ab1a84f2ebaa087f1d4507d6ecbfcba7ca090b.tar.gz
historical-f7ab1a84f2ebaa087f1d4507d6ecbfcba7ca090b.tar.bz2
historical-f7ab1a84f2ebaa087f1d4507d6ecbfcba7ca090b.zip
Check if patches.txt before trying to run dodoc
Diffstat (limited to 'eclass/kernel.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