avoid multiple inclusions when possible to speed caching up
authorMike Frysinger <vapier@gentoo.org>
Sat, 10 Dec 2011 08:36:31 +0000 (08:36 +0000)
committerMike Frysinger <vapier@gentoo.org>
Sat, 10 Dec 2011 08:36:31 +0000 (08:36 +0000)
eclass/versionator.eclass

index 3cd31fe089f20c7f70a895a7a8c62bb1aafceb5e..a179c763054b9f150b7da4f8b6fa66fff2f3a35a 100644 (file)
@@ -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