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 | 3a258dd78e10f416c41c6c5b7f29f0d19c2612f9 (patch) | |
tree | 3f5a5e61f4e8d9b85ec60286101b48cbc3c8b203 /eclass | |
parent | Version bump #380739 by Luca Lesinigo. (diff) | |
download | gentoo-2-3a258dd78e10f416c41c6c5b7f29f0d19c2612f9.tar.gz gentoo-2-3a258dd78e10f416c41c6c5b7f29f0d19c2612f9.tar.bz2 gentoo-2-3a258dd78e10f416c41c6c5b7f29f0d19c2612f9.zip |
avoid multiple inclusions when possible to speed caching up
Diffstat (limited to '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 |