summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-07-06 23:53:57 +0000
committerMike Frysinger <vapier@gentoo.org>2006-07-06 23:53:57 +0000
commit7b4f4a0710d4e10915da0691c1330a46b706dc68 (patch)
tree5a325ad1a68f2fdf2f485e73fcfcb0728dfce101 /eclass/eutils.eclass
parentMarked ppc (diff)
downloadgentoo-2-7b4f4a0710d4e10915da0691c1330a46b706dc68.tar.gz
gentoo-2-7b4f4a0710d4e10915da0691c1330a46b706dc68.tar.bz2
gentoo-2-7b4f4a0710d4e10915da0691c1330a46b706dc68.zip
check $nols in strip-linguas before warning #138884 by Phil Richards
Diffstat (limited to 'eclass/eutils.eclass')
-rw-r--r--eclass/eutils.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/eutils.eclass b/eclass/eutils.eclass
index 06691ea52daa..df56d8d81122 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.243 2006/07/05 01:16:18 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.244 2006/07/06 23:53:57 vapier Exp $
#
# This eclass is for general purpose functions that most ebuilds
# have to implement themselves.
@@ -1482,7 +1482,7 @@ strip-linguas() {
nols="${nols} ${f}"
fi
done
- [[ -n ${newls} ]] \
+ [[ -n ${nols} ]] \
&& ewarn "Sorry, but ${PN} does not support the LINGUAs:" ${nols}
export LINGUAS=${newls:1}
}