diff options
author | Michał Górny <mgorny@gentoo.org> | 2012-10-07 08:29:49 +0000 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2012-10-07 08:29:49 +0000 |
commit | 0b7ace84d015c80e4f690d4209dfaebe06685976 (patch) | |
tree | a948b529a78038587fe2a0be88f9d50caa90631f /eclass | |
parent | Remove old versions (diff) | |
download | gentoo-2-0b7ace84d015c80e4f690d4209dfaebe06685976.tar.gz gentoo-2-0b7ace84d015c80e4f690d4209dfaebe06685976.tar.bz2 gentoo-2-0b7ace84d015c80e4f690d4209dfaebe06685976.zip |
Fix stupid mistake in boost-utils_get_best_slot().
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/ChangeLog | 5 | ||||
-rw-r--r-- | eclass/boost-utils.eclass | 4 |
2 files changed, 6 insertions, 3 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog index 3065e42f3d7b..434bd49d76c4 100644 --- a/eclass/ChangeLog +++ b/eclass/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for eclass directory # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.428 2012/10/03 22:47:12 chithanh Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.429 2012/10/07 08:29:49 mgorny Exp $ + + 07 Oct 2012; Michał Górny <mgorny@gentoo.org> boost-utils.eclass: + Fix stupid mistake in boost-utils_get_best_slot(). 03 Oct 2012; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> virtualx.eclass: diff --git a/eclass/boost-utils.eclass b/eclass/boost-utils.eclass index 9a959d75f21c..1f946a416a14 100644 --- a/eclass/boost-utils.eclass +++ b/eclass/boost-utils.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/boost-utils.eclass,v 1.2 2012/09/27 16:35:41 axs Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/boost-utils.eclass,v 1.3 2012/10/07 08:29:49 mgorny Exp $ if [[ ! ${_BOOST_ECLASS} ]]; then @@ -45,7 +45,7 @@ boost-utils_get_best_slot() { [[ ${BOOST_MAX_SLOT} ]] && pkg="<=${pkg}-${BOOST_MAX_SLOT}.9999" local cpv=$(best_version ${pkg}) - get_version_component_range 1-2 ${cpv#${pkg}-} + get_version_component_range 1-2 ${cpv#dev-libs/boost-} } # @FUNCTION: boost-utils_get_includedir |