Gentoo Archives: gentoo-dev

From: Donnie Berkholz <dberkholz@g.o>
To: gentoo-dev@g.o
Subject: Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in dev-php5/onphp: ChangeLog onphp-0.10.6.ebuild onphp-0.10.4.ebuild onphp-0.10.3.ebuild
Date: Mon, 15 Oct 2007 00:32:50
Message-Id: 20071015001842.GE23990@supernova
In Reply to: Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in dev-php5/onphp: ChangeLog onphp-0.10.6.ebuild onphp-0.10.4.ebuild onphp-0.10.3.ebuild by Drake Wyrm
1 On 16:52 Sun 14 Oct , Drake Wyrm wrote:
2 > Donnie Berkholz <dberkholz@g.o> wrote:
3 > > On 18:05 Sun 14 Oct , Konstantin Arkhipov (voxus) wrote:
4 > > > 1.1 dev-php5/onphp/onphp-0.10.6.ebuild
5 > > >
6 > > > file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-php5/onphp/onphp-0.10.6.ebuild?rev=1.1&view=markup
7 > > > plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-php5/onphp/onphp-0.10.6.ebuild?rev=1.1&content-type=text/plain
8 > >
9 > > > if use doc ; then
10 > > > for doc in `find doc -maxdepth 1 -type f -print` ; do
11 > > > dodoc ${doc}
12 > > > done
13 > >
14 > > You could avoid all these calls to dodoc by saving the docs in a
15 > > variable, then calling dodoc on it. Another option could be to send the
16 > > loop output to 'xargs dodoc'.
17 >
18 > Or, since you already have the command substitution there, how about:
19 >
20 > dodoc `find doc -maxdepth 1 -type f`
21
22 Much better than what I said.
23
24 Thanks,
25 Donnie
26 --
27 gentoo-dev@g.o mailing list