diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-06-04 15:18:12 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-06-04 15:18:12 +0000 |
commit | b6aa22aee42ae2214c112268d17c51468628f753 (patch) | |
tree | 33e69fb6751ca9885e7bf8d6910d37b9cb1929cc /eclass | |
parent | Stable on amd64 (diff) | |
download | gentoo-2-b6aa22aee42ae2214c112268d17c51468628f753.tar.gz gentoo-2-b6aa22aee42ae2214c112268d17c51468628f753.tar.bz2 gentoo-2-b6aa22aee42ae2214c112268d17c51468628f753.zip |
simplify final LINGUAS setting
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/eutils.eclass | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/eclass/eutils.eclass b/eclass/eutils.eclass index b6f13b9a213f..22d597ced6f0 100644 --- a/eclass/eutils.eclass +++ b/eclass/eutils.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.236 2006/06/04 13:25:04 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.237 2006/06/04 15:18:12 vapier Exp $ # # This eclass is for general purpose functions that most ebuilds # have to implement themselves. @@ -1470,11 +1470,7 @@ strip-linguas() { ewarn "Sorry, but ${PN} does not support the ${f} LINGUA" fi done - if [[ -z ${newls} ]] ; then - export LINGUAS="" - else - export LINGUAS=${newls:1} - fi + export LINGUAS=${newls:1} } # moved from kernel.eclass since they are generally useful outside of |