1 |
Signed-off-by: Ulrich Müller <ulm@g.o> |
2 |
--- |
3 |
eclass/l10n.eclass | 7 ++++++- |
4 |
1 file changed, 6 insertions(+), 1 deletion(-) |
5 |
|
6 |
diff --git a/eclass/l10n.eclass b/eclass/l10n.eclass |
7 |
index 0b2d287afa7f..73d54ec22334 100644 |
8 |
--- a/eclass/l10n.eclass |
9 |
+++ b/eclass/l10n.eclass |
10 |
@@ -1,4 +1,4 @@ |
11 |
-# Copyright 1999-2018 Gentoo Foundation |
12 |
+# Copyright 1999-2020 Gentoo Authors |
13 |
# Distributed under the terms of the GNU General Public License v2 |
14 |
|
15 |
# @ECLASS: l10n.eclass |
16 |
@@ -14,6 +14,9 @@ |
17 |
# determining the cross-section between the user's set LINGUAS and what |
18 |
# is offered by the package. |
19 |
|
20 |
+if [[ -z ${_L10N_ECLASS} ]]; then |
21 |
+_L10N_ECLASS=1 |
22 |
+ |
23 |
# @ECLASS-VARIABLE: PLOCALES |
24 |
# @DEFAULT_UNSET |
25 |
# @DESCRIPTION: |
26 |
@@ -120,3 +123,5 @@ l10n_get_locales() { |
27 |
fi |
28 |
printf "%s" "${locs}" |
29 |
} |
30 |
+ |
31 |
+fi |
32 |
-- |
33 |
2.28.0 |