diff options
author | Ben de Groot <yngwin@gentoo.org> | 2008-09-27 02:53:40 +0000 |
---|---|---|
committer | Ben de Groot <yngwin@gentoo.org> | 2008-09-27 02:53:40 +0000 |
commit | 085c47836a67c48aab2be4a113adf93a2a1af6f0 (patch) | |
tree | 63ee7b8ef78bbfa6c98c279ffb9b8ecfd5d71022 | |
parent | Automated update of use.local.desc (diff) | |
download | gentoo-2-085c47836a67c48aab2be4a113adf93a2a1af6f0.tar.gz gentoo-2-085c47836a67c48aab2be4a113adf93a2a1af6f0.tar.bz2 gentoo-2-085c47836a67c48aab2be4a113adf93a2a1af6f0.zip |
Another go at linguas fix
(Portage version: 2.2_rc11/cvs/Linux 2.6.26.5 i686)
-rw-r--r-- | app-cdr/recorder/ChangeLog | 5 | ||||
-rw-r--r-- | app-cdr/recorder/recorder-1.4.1.ebuild | 11 |
2 files changed, 9 insertions, 7 deletions
diff --git a/app-cdr/recorder/ChangeLog b/app-cdr/recorder/ChangeLog index 6cdf492d057e..9e7287a81c43 100644 --- a/app-cdr/recorder/ChangeLog +++ b/app-cdr/recorder/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for app-cdr/recorder # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-cdr/recorder/ChangeLog,v 1.2 2008/09/17 23:54:54 yngwin Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-cdr/recorder/ChangeLog,v 1.3 2008/09/27 02:53:40 yngwin Exp $ + + 27 Sep 2008; Ben de Groot <yngwin@gentoo.org> recorder-1.4.1.ebuild: + Another go at linguas fix 17 Sep 2008; Ben de Groot <yngwin@gentoo.org> recorder-1.4.1.ebuild: Fixing linguas logic. Fixes bug 237962. diff --git a/app-cdr/recorder/recorder-1.4.1.ebuild b/app-cdr/recorder/recorder-1.4.1.ebuild index d7bff5625631..d986836a384e 100644 --- a/app-cdr/recorder/recorder-1.4.1.ebuild +++ b/app-cdr/recorder/recorder-1.4.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-cdr/recorder/recorder-1.4.1.ebuild,v 1.2 2008/09/17 23:54:54 yngwin Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-cdr/recorder/recorder-1.4.1.ebuild,v 1.3 2008/09/27 02:53:40 yngwin Exp $ inherit fdo-mime @@ -35,13 +35,12 @@ src_unpack() { local MY_NLS="" if use nls; then for ling in ${LINGUAS}; do - for lang in ${LANGS}; do - if [[ $ling==$lang ]]; then - MY_NLS="${MY_NLS} ${ling}" - fi - done + if has $ling ${LANGS}; then + MY_NLS="${MY_NLS} ${ling}" + fi done fi + echo "Using $MY_NLS translations" sed -i -e "s:ar cs es fr pt_BR ru it nl:${MY_NLS}:" Makefile } |