diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-12-10 08:36:31 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-12-10 08:36:31 +0000 |
commit | 0ca01d3d2c5eb4e4680d974539971022a091c33a (patch) | |
tree | bd5b70380dc3dc24ae1f3e2cc1badeaadad93544 /eclass/versionator.eclass | |
parent | Version bump #380739 by Luca Lesinigo. (diff) | |
download | historical-0ca01d3d2c5eb4e4680d974539971022a091c33a.tar.gz historical-0ca01d3d2c5eb4e4680d974539971022a091c33a.tar.bz2 historical-0ca01d3d2c5eb4e4680d974539971022a091c33a.zip |
avoid multiple inclusions when possible to speed caching up
Diffstat (limited to 'eclass/versionator.eclass')
-rw-r--r-- | eclass/versionator.eclass | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/eclass/versionator.eclass b/eclass/versionator.eclass index 3cd31fe089f2..a179c763054b 100644 --- a/eclass/versionator.eclass +++ b/eclass/versionator.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/versionator.eclass,v 1.20 2011/11/22 18:42:10 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/versionator.eclass,v 1.21 2011/12/10 08:36:31 vapier Exp $ # @ECLASS: versionator.eclass # @MAINTAINER: @@ -26,6 +26,9 @@ # version_is_at_least want have # which may be buggy, so use with caution. +if [[ ${___ECLASS_ONCE_VERSIONATOR} != "recur -_+^+_- spank" ]] ; then +___ECLASS_ONCE_VERSIONATOR="recur -_+^+_- spank" + inherit eutils # @FUNCTION: get_all_version_components @@ -692,3 +695,5 @@ __versionator__test_version_compare() { eshopts_pop } + +fi |