summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'eclass/eutils.eclass')
-rw-r--r--eclass/eutils.eclass22
1 files changed, 10 insertions, 12 deletions
diff --git a/eclass/eutils.eclass b/eclass/eutils.eclass
index bf877145bc85..b996009a9914 100644
--- a/eclass/eutils.eclass
+++ b/eclass/eutils.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.286 2007/07/17 11:59:18 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.287 2007/07/26 05:43:12 vapier Exp $
# @ECLASS: eutils.eclass
# @MAINTAINER:
@@ -1508,18 +1508,16 @@ _cdrom_locate_file_on_cd() {
done
}
+# @FUNCTION: strip-linguas
+# @USAGE: [<allow LINGUAS>|<-i|-u> <directories of .po files>]
+# @DESCRIPTION:
# Make sure that LINGUAS only contains languages that
-# a package can support
-#
-# usage: strip-linguas <allow LINGUAS>
-# strip-linguas -i <directories of .po files>
-# strip-linguas -u <directories of .po files>
-#
-# The first form allows you to specify a list of LINGUAS.
-# The -i builds a list of po files found in all the
-# directories and uses the intersection of the lists.
-# The -u builds a list of po files found in all the
-# directories and uses the union of the lists.
+# a package can support. The first form allows you to
+# specify a list of LINGUAS. The -i builds a list of po
+# files found in all the directories and uses the
+# intersection of the lists. The -u builds a list of po
+# files found in all the directories and uses the union
+# of the lists.
strip-linguas() {
local ls newls nols
if [[ $1 == "-i" ]] || [[ $1 == "-u" ]] ; then