diff options
author | Stephen Bennett <spb@gentoo.org> | 2006-08-30 16:14:13 +0000 |
---|---|---|
committer | Stephen Bennett <spb@gentoo.org> | 2006-08-30 16:14:13 +0000 |
commit | 8bbc63a2d5fde318093b6b2a65f4188fb97a775d (patch) | |
tree | 301a83d11e85fc67b67bc5fb3a08b5c6ac69a109 /eclass | |
parent | Added a new patch that parses the grub configuration file correctly and allow... (diff) | |
download | gentoo-2-8bbc63a2d5fde318093b6b2a65f4188fb97a775d.tar.gz gentoo-2-8bbc63a2d5fde318093b6b2a65f4188fb97a775d.tar.bz2 gentoo-2-8bbc63a2d5fde318093b6b2a65f4188fb97a775d.zip |
Fixed get_after_major_version for bug #145532
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/versionator.eclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/versionator.eclass b/eclass/versionator.eclass index 2a9a503c7684..1fef03364694 100644 --- a/eclass/versionator.eclass +++ b/eclass/versionator.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/versionator.eclass,v 1.10 2006/03/21 00:49:54 kugelfang Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/versionator.eclass,v 1.11 2006/08/30 16:14:13 spb Exp $ # # Original Author: Ciaran McCreesh <ciaranm@gentoo.org> # @@ -152,7 +152,7 @@ get_version_component_range() { # 20040905 -> (empty string) # 3.0c-r1 -> 0c-r1 get_after_major_version() { - echo $(get_version_component_range 2- "${1:-PV}" ) + echo $(get_version_component_range 2- "${1:-${PV}}" ) } # Replace the $1th separator with $2 in $3 (defaults to $PV if $3 is not |