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 | 5e618d7d88d5355196f5417e0b7c7eb209bbae94 (patch) | |
tree | a6414f513245c8ecf32876c1e3d0320b323e2fe1 /eclass | |
parent | Added a new patch that parses the grub configuration file correctly and allow... (diff) | |
download | historical-5e618d7d88d5355196f5417e0b7c7eb209bbae94.tar.gz historical-5e618d7d88d5355196f5417e0b7c7eb209bbae94.tar.bz2 historical-5e618d7d88d5355196f5417e0b7c7eb209bbae94.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 |