summaryrefslogtreecommitdiff
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
commit1b4df4a621f283a029679fdb2dc0804590fcfc80 (patch)
treed7513d37d3051a1b19b5401563d73d3bd5fdcd13 /eclass/kmod.eclass
parentfix bug #50516; tidy (Manifest recommit) (diff)
downloadgentoo-2-1b4df4a621f283a029679fdb2dc0804590fcfc80.tar.gz
gentoo-2-1b4df4a621f283a029679fdb2dc0804590fcfc80.tar.bz2
gentoo-2-1b4df4a621f283a029679fdb2dc0804590fcfc80.zip
*** empty log message ***
Diffstat (limited to 'eclass/kmod.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