summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-07-26 05:43:12 +0000
committerMike Frysinger <vapier@gentoo.org>2007-07-26 05:43:12 +0000
commite49b5feb3abaf4b9ba58e0790d376e59af958944 (patch)
treecf79551a956d176d21958660db23e638bab0f23a /eclass/eutils.eclass
parentInitial import. Ebuild submitted by Christoph Gysin #186627. (diff)
downloadgentoo-2-e49b5feb3abaf4b9ba58e0790d376e59af958944.tar.gz
gentoo-2-e49b5feb3abaf4b9ba58e0790d376e59af958944.tar.bz2
gentoo-2-e49b5feb3abaf4b9ba58e0790d376e59af958944.zip
convert strip-linguas to new doc style #164961
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