diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-12-10 20:03:17 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-12-10 20:03:17 +0000 |
commit | 9c3d8c0ef13c925c85eea42da6ed0e30fdbbf279 (patch) | |
tree | 6d917913bb170af29320b72a50c2960762c0fc79 /eclass/user.eclass | |
parent | Mask dev-util/febootstrap before testing ends (diff) | |
download | gentoo-2-9c3d8c0ef13c925c85eea42da6ed0e30fdbbf279.tar.gz gentoo-2-9c3d8c0ef13c925c85eea42da6ed0e30fdbbf279.tar.bz2 gentoo-2-9c3d8c0ef13c925c85eea42da6ed0e30fdbbf279.zip |
avoid multiple inclusions when possible to speed caching up
Diffstat (limited to 'eclass/user.eclass')
-rw-r--r-- | eclass/user.eclass | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/eclass/user.eclass b/eclass/user.eclass index 7973f382e1fc..2b1fd0c3f5b4 100644 --- a/eclass/user.eclass +++ b/eclass/user.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/user.eclass,v 1.17 2011/11/29 19:32:23 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/user.eclass,v 1.18 2011/12/10 20:03:17 vapier Exp $ # @ECLASS: user.eclass # @MAINTAINER: @@ -13,6 +13,9 @@ # The user eclass contains a suite of functions that allow ebuilds # to quickly make sure users in the installed system are sane. +if [[ ${___ECLASS_ONCE_USER} != "recur -_+^+_- spank" ]] ; then +___ECLASS_ONCE_USER="recur -_+^+_- spank" + # @FUNCTION: _assert_pkg_ebuild_phase # @INTERNAL # @USAGE: <calling func name> @@ -383,3 +386,5 @@ egetshell() { egetent passwd "$1" | cut -d: -f${pos} } + +fi |