/[gentoo-x86]/eclass/eutils.eclass
Gentoo

Diff of /eclass/eutils.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.357 Revision 1.358
1# Copyright 1999-2011 Gentoo Foundation 1# Copyright 1999-2011 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.357 2011/06/14 20:16:51 betelgeuse Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.358 2011/07/08 11:35:01 ssuominen Exp $
4 4
5# @ECLASS: eutils.eclass 5# @ECLASS: eutils.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# base-system@gentoo.org 7# base-system@gentoo.org
8# @BLURB: many extra (but common) functions that are used in ebuilds 8# @BLURB: many extra (but common) functions that are used in ebuilds
1713 else 1713 else
1714 newls="" 1714 newls=""
1715 fi 1715 fi
1716 for f in $(find "$d" -name '*.po' -exec basename {} .po ';') ; do 1716 for f in $(find "$d" -name '*.po' -exec basename {} .po ';') ; do
1717 if [[ ${op} == "-i" ]] ; then 1717 if [[ ${op} == "-i" ]] ; then
1718 hasq ${f} ${ls} && newls="${newls} ${f}" 1718 has ${f} ${ls} && newls="${newls} ${f}"
1719 else 1719 else
1720 hasq ${f} ${ls} || newls="${newls} ${f}" 1720 has ${f} ${ls} || newls="${newls} ${f}"
1721 fi 1721 fi
1722 done 1722 done
1723 ls=${newls} 1723 ls=${newls}
1724 done 1724 done
1725 else 1725 else
1727 fi 1727 fi
1728 1728
1729 nols="" 1729 nols=""
1730 newls="" 1730 newls=""
1731 for f in ${LINGUAS} ; do 1731 for f in ${LINGUAS} ; do
1732 if hasq ${f} ${ls} ; then 1732 if has ${f} ${ls} ; then
1733 newls="${newls} ${f}" 1733 newls="${newls} ${f}"
1734 else 1734 else
1735 nols="${nols} ${f}" 1735 nols="${nols} ${f}"
1736 fi 1736 fi
1737 done 1737 done

Legend:
Removed from v.1.357  
changed lines
  Added in v.1.358

  ViewVC Help
Powered by ViewVC 1.1.20