Gentoo Archives: gentoo-dev

From: Drake Wyrm <wyrm@×××××.com>
To: gentoo-dev@l.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:05:49
Message-Id: 20071014235246.GA19544@phaenix.haell.com
In Reply to: [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 Donnie Berkholz
1 Donnie Berkholz <dberkholz@g.o> wrote:
2 > On 18:05 Sun 14 Oct , Konstantin Arkhipov (voxus) wrote:
3 > > 1.1 dev-php5/onphp/onphp-0.10.6.ebuild
4 > >
5 > > file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-php5/onphp/onphp-0.10.6.ebuild?rev=1.1&view=markup
6 > > plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-php5/onphp/onphp-0.10.6.ebuild?rev=1.1&content-type=text/plain
7 >
8 > > if use doc ; then
9 > > for doc in `find doc -maxdepth 1 -type f -print` ; do
10 > > dodoc ${doc}
11 > > done
12 >
13 > You could avoid all these calls to dodoc by saving the docs in a
14 > variable, then calling dodoc on it. Another option could be to send the
15 > loop output to 'xargs dodoc'.
16
17 Or, since you already have the command substitution there, how about:
18
19 dodoc `find doc -maxdepth 1 -type f`
20
21
22 --
23 Major premise: You can't handle the truth.
24 Minor premise: The truth is out there.
25 Conclusion: You can't handle what is out there.

Replies