commit: 7cdded69ae894fc68748cf708037caddbbf9d6c5 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> AuthorDate: Wed Sep 9 15:22:11 2020 +0000 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> CommitDate: Sat Sep 12 16:03:00 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7cdded69
l10n.eclass: Add conditional to prevent multiple inclusion. Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org> eclass/l10n.eclass | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/eclass/l10n.eclass b/eclass/l10n.eclass index 0b2d287afa7..73d54ec2233 100644 --- a/eclass/l10n.eclass +++ b/eclass/l10n.eclass @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # @ECLASS: l10n.eclass @@ -14,6 +14,9 @@ # determining the cross-section between the user's set LINGUAS and what # is offered by the package. +if [[ -z ${_L10N_ECLASS} ]]; then +_L10N_ECLASS=1 + # @ECLASS-VARIABLE: PLOCALES # @DEFAULT_UNSET # @DESCRIPTION: @@ -120,3 +123,5 @@ l10n_get_locales() { fi printf "%s" "${locs}" } + +fi