summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMike Pagano <mpagano@gentoo.org>2011-06-03 20:20:23 +0000
committerMike Pagano <mpagano@gentoo.org>2011-06-03 20:20:23 +0000
commit084e1dc19e888a84d51f38672b6ddfff130d3ef9 (patch)
tree1c6a4757bf6df66cfcd3b239d11a529d1ab06708 /eclass
parentpmask kbluetooth (requires KDE 4.4) (diff)
downloadhistorical-084e1dc19e888a84d51f38672b6ddfff130d3ef9.tar.gz
historical-084e1dc19e888a84d51f38672b6ddfff130d3ef9.tar.bz2
historical-084e1dc19e888a84d51f38672b6ddfff130d3ef9.zip
Fix typo when getting KV_MINOR. Thanks to hwoarang for reporting
Diffstat (limited to 'eclass')
-rw-r--r--eclass/kernel-2.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.eclass
index c0b23f33b8cc..5daa3b319120 100644
--- a/eclass/kernel-2.eclass
+++ b/eclass/kernel-2.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.252 2011/06/03 13:07:33 mpagano Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.253 2011/06/03 20:20:23 mpagano Exp $
# Description: kernel.eclass rewrite for a clean base regarding the 2.6
# series of kernel with back-compatibility for 2.4
@@ -154,7 +154,7 @@ detect_version() {
# if KV_MAJOR >= 3, then we have no more KV_MINOR
if [[ ${KV_MAJOR} -lt 3 ]]; then
- KV_MINOR=$(get_version_component_range 2 )
+ KV_MINOR=$(get_version_component_range 2 ${OKV})
KV_PATCH=$(get_version_component_range 3 ${OKV})
if [[ ${KV_MAJOR}${KV_MINOR}${KV_PATCH} -ge 269 ]]; then
KV_EXTRA=$(get_version_component_range 4- ${OKV})