Signed-off-by: Ulrich Müller <u...@gentoo.org>
---
 eclass/l10n.eclass | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/eclass/l10n.eclass b/eclass/l10n.eclass
index 0b2d287afa7f..73d54ec22334 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
-- 
2.28.0


Reply via email to