diff options
author | Jörg Bornkessel <hd_brummy@gentoo.org> | 2012-05-25 19:56:13 +0000 |
---|---|---|
committer | Jörg Bornkessel <hd_brummy@gentoo.org> | 2012-05-25 19:56:13 +0000 |
commit | fba06bcab00ce618285fde10952e6ee13ccaaa2c (patch) | |
tree | 965b301f932cafce5d6b0eeb7fa8421a22cd13ce /eclass | |
parent | Version bump. (diff) | |
download | gentoo-2-fba06bcab00ce618285fde10952e6ee13ccaaa2c.tar.gz gentoo-2-fba06bcab00ce618285fde10952e6ee13ccaaa2c.tar.bz2 gentoo-2-fba06bcab00ce618285fde10952e6ee13ccaaa2c.zip |
fixed install for locales if only LINGUAS=en
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/ChangeLog | 5 | ||||
-rw-r--r-- | eclass/vdr-plugin-2.eclass | 9 |
2 files changed, 10 insertions, 4 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog index f5445aae9a32..26b5d4914c84 100644 --- a/eclass/ChangeLog +++ b/eclass/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for eclass directory # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.267 2012/05/25 12:06:05 pesa Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.268 2012/05/25 19:56:13 hd_brummy Exp $ + + 25 May 2012; Joerg Bornkessel <hd_brummy@gentoo.org> vdr-plugin-2.eclass: + fixed install for locales if only LINGUAS=en 25 May 2012; Davide Pesavento <pesa@gentoo.org> qt4-build.eclass: Re-enable rpath on prefix wrt bug 417169. diff --git a/eclass/vdr-plugin-2.eclass b/eclass/vdr-plugin-2.eclass index bd716d1972d9..86f388616848 100644 --- a/eclass/vdr-plugin-2.eclass +++ b/eclass/vdr-plugin-2.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/vdr-plugin-2.eclass,v 1.4 2012/05/20 20:34:55 hd_brummy Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/vdr-plugin-2.eclass,v 1.5 2012/05/25 19:56:13 hd_brummy Exp $ # @ECLASS: vdr-plugin-2.eclass # @MAINTAINER: @@ -556,8 +556,11 @@ vdr-plugin-2_src_install() { if [[ -d ${TMP_LOCALE_DIR} ]]; then einfo "Installing locales" cd "${TMP_LOCALE_DIR}" - insinto "${LOCDIR}" - doins -r * + local linguas + for linguas in ${LINGUAS[*]}; do + insinto "${LOCDIR}" + cp -r --parents ${linguas}* ${D}/${LOCDIR} + done fi cd "${S}" |