From: | "Tomas Chvatal (scarabeus)" <scarabeus@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in eclass: kde4-functions.eclass |
Date: | Sun, 31 May 2009 09:45:53 |
Message-Id: | E1MAhbz-0007U9-7y@stork.gentoo.org |
1 | scarabeus 09/05/31 09:45:51 |
2 | |
3 | Modified: kde4-functions.eclass |
4 | Log: |
5 | Update linguas detection code to work as expected. |
6 | |
7 | Revision Changes Path |
8 | 1.20 eclass/kde4-functions.eclass |
9 | |
10 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/kde4-functions.eclass?rev=1.20&view=markup |
11 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/kde4-functions.eclass?rev=1.20&content-type=text/plain |
12 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/kde4-functions.eclass?r1=1.19&r2=1.20 |
13 | |
14 | Index: kde4-functions.eclass |
15 | =================================================================== |
16 | RCS file: /var/cvsroot/gentoo-x86/eclass/kde4-functions.eclass,v |
17 | retrieving revision 1.19 |
18 | retrieving revision 1.20 |
19 | diff -u -r1.19 -r1.20 |
20 | --- kde4-functions.eclass 28 May 2009 09:47:52 -0000 1.19 |
21 | +++ kde4-functions.eclass 31 May 2009 09:45:51 -0000 1.20 |
22 | @@ -1,6 +1,6 @@ |
23 | # Copyright 1999-2008 Gentoo Foundation |
24 | # Distributed under the terms of the GNU General Public License v2 |
25 | -# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-functions.eclass,v 1.19 2009/05/28 09:47:52 scarabeus Exp $ |
26 | +# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-functions.eclass,v 1.20 2009/05/31 09:45:51 scarabeus Exp $ |
27 | |
28 | # @ECLASS: kde4-functions.eclass |
29 | # @MAINTAINER: |
30 | @@ -126,6 +126,9 @@ |
31 | ## even if you don't have it in make.conf |
32 | ## Im leaving the command that *should* work if LINGUAS was unset commented |
33 | # if there is no linguas defined we enable everything |
34 | + if ! $(env | grep -q "^LINGUAS="); then |
35 | + return 0 |
36 | + fi |
37 | # [[ ! ${LINGUAS+set} = set ]] && LINGUAS="*" |
38 | # ebuild overridable linguas directory definition |
39 | KDE_LINGUAS_DIR=${KDE_LINGUAS_DIR:="${S}/po"} |