summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrandon Low <lostlogic@gentoo.org>2002-09-30 23:13:48 +0000
committerBrandon Low <lostlogic@gentoo.org>2002-09-30 23:13:48 +0000
commit3e61f7deb8c8e298e23963d60148619dc8978a04 (patch)
tree6a18fc8e61f689692e6496752e6f58df9437caed /eclass/kernel.eclass
parentminor update (diff)
downloadhistorical-3e61f7deb8c8e298e23963d60148619dc8978a04.tar.gz
historical-3e61f7deb8c8e298e23963d60148619dc8978a04.tar.bz2
historical-3e61f7deb8c8e298e23963d60148619dc8978a04.zip
oops
Diffstat (limited to 'eclass/kernel.eclass')
-rw-r--r--eclass/kernel.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/kernel.eclass b/eclass/kernel.eclass
index 974f704244b3..2c63afffe5a7 100644
--- a/eclass/kernel.eclass
+++ b/eclass/kernel.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/kernel.eclass,v 1.5 2002/09/30 23:03:48 lostlogic Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/kernel.eclass,v 1.6 2002/09/30 23:13:48 lostlogic Exp $
ECLASS=kernel
EXPORT_FUNCTIONS src_unpack src_compile src_install pkg_preinst pkg_postinst
# This eclass contains the common functions to be used by all lostlogic
@@ -9,7 +9,7 @@ EXPORT_FUNCTIONS src_unpack src_compile src_install pkg_preinst pkg_postinst
# OKV=original kernel version, KV=patched kernel version. They can be the same.
OKV="`echo ${PV}|sed -e 's:^\([0-9]\+\.[0-9]\+\.[0-9]\+\).*:\1:'`"
EXTRAVERSION="`echo ${P} | \
- sed -e 's:^\(.*\)-sources-[0-9]\+\.[0-9]\+\.[0-9]\+.r\([0-9]*\)\(.*$\):-\1-r\2\3:'`"
+ sed -e 's:^\(.*\)-sources-[0-9]\+\.[0-9]\+\.[0-9]\+.r*\([0-9]*\)\(.*$\):-\1-r\2\3:'`"
KV=${OKV}${EXTRAVERSION}
S=${WORKDIR}/linux-${KV}
PROVIDE="virtual/linux-sources"