summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrandon Low <lostlogic@gentoo.org>2002-09-30 23:03:48 +0000
committerBrandon Low <lostlogic@gentoo.org>2002-09-30 23:03:48 +0000
commit35e5be0a8136b9f8722840a0c7a3f3a9e1dddca0 (patch)
tree23480441746409c39b84dffa5e06fa65d58b19db /eclass/kernel.eclass
parentminor fixes (diff)
downloadhistorical-35e5be0a8136b9f8722840a0c7a3f3a9e1dddca0.tar.gz
historical-35e5be0a8136b9f8722840a0c7a3f3a9e1dddca0.tar.bz2
historical-35e5be0a8136b9f8722840a0c7a3f3a9e1dddca0.zip
minor update
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 195012b2aa41..974f704244b3 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.4 2002/09/24 06:36:37 lostlogic Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/kernel.eclass,v 1.5 2002/09/30 23:03: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"