diff options
author | Mike Pagano <mpagano@gentoo.org> | 2011-06-03 20:20:23 +0000 |
---|---|---|
committer | Mike Pagano <mpagano@gentoo.org> | 2011-06-03 20:20:23 +0000 |
commit | 2d8a8996477d21e74dc2042e185b97b95499783d (patch) | |
tree | f445552a0403d0beab0923b36299edb574bbef1f /eclass | |
parent | pmask kbluetooth (requires KDE 4.4) (diff) | |
download | gentoo-2-2d8a8996477d21e74dc2042e185b97b95499783d.tar.gz gentoo-2-2d8a8996477d21e74dc2042e185b97b95499783d.tar.bz2 gentoo-2-2d8a8996477d21e74dc2042e185b97b95499783d.zip |
Fix typo when getting KV_MINOR. Thanks to hwoarang for reporting
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/kernel-2.eclass | 4 |
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}) |