summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorAndrew Bevitt <cyfred@gentoo.org>2004-05-10 05:18:51 +0000
committerAndrew Bevitt <cyfred@gentoo.org>2004-05-10 05:18:51 +0000
commitb00da37912ef8d90710f6c814e7b28a9e6644724 (patch)
tree6d32e55f92edbcab9ad166dc97f76df00ebb10f8 /eclass
parentfix bug #50516; tidy (diff)
downloadhistorical-b00da37912ef8d90710f6c814e7b28a9e6644724.tar.gz
historical-b00da37912ef8d90710f6c814e7b28a9e6644724.tar.bz2
historical-b00da37912ef8d90710f6c814e7b28a9e6644724.zip
*** empty log message ***
Diffstat (limited to 'eclass')
-rw-r--r--eclass/kmod.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/kmod.eclass b/eclass/kmod.eclass
index b51409ce0ff9..faa1462c83e2 100644
--- a/eclass/kmod.eclass
+++ b/eclass/kmod.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/kmod.eclass,v 1.11 2004/04/10 20:07:00 latexer Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/kmod.eclass,v 1.12 2004/05/10 05:18:51 cyfred Exp $
# This eclass provides help for compiling external kernel modules from
# source.
@@ -100,7 +100,7 @@ get_kernel_info()
KV_DIR_MAJOR="`echo ${KV_DIR_VERSION_FULL} | cut -f 1 -d .`"
KV_DIR_MINOR="`echo ${KV_DIR_VERSION_FULL} | cut -f 2 -d .`"
- KV_DIR_PATCH="`echo ${KV_DIR_VERSION_FULL} | cut -f 3 -d . | cut -f 3 -d -`"
+ KV_DIR_PATCH="`echo ${KV_DIR_VERSION_FULL} | cut -f 3 -d . | cut -f 1 -d -`"
KV_DIR_TYPE="`echo ${KV_DIR_VERSION_FULL} | cut -f 2- -d -`"
# sanity check - do the settings in the kernel's makefile match