Gentoo Archives: gentoo-dev

From: Roy Marples <uberlord@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: 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: Tue, 16 Oct 2007 07:58:02
Message-Id: 1192520674.3687.1.camel@uberpc.marples.name
In Reply to: Re: [gentoo-dev] Re: 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 On Tue, 2007-10-16 at 00:28 -0700, Donnie Berkholz wrote:
2 > On 08:19 Tue 16 Oct , Steve Long wrote:
3 > > stdDocs=(ChangeLog AUTHORS FEATURES THANKS README CodingStyle TODO FAQ)
4 > >
5 > > stdDoc() {
6 > > local d l=()
7 > > for d in "${stdDocs[@]}"; do
8 > > [[ -f $d ]] && l+=("$d")
9 > > done
10 > > ((${#l[@]})) && dodoc "${l[@]}"
11 > > }
12 > >
13 > > (assuming [[ $PWD = $S ]] or whichever is the right one for docs.)
14 >
15 > Is it just me, or is this code way more complex than it needs to be? It
16 > looks like bashturbation to me. =P
17
18 Nope, it looks like milk and cereal decorating my monitor to me; after
19 reading that! :)
20
21 Roy
22
23 --
24 gentoo-dev@g.o mailing list

Replies