1 |
On Thursday 29 April 2004 03:33 pm, Michael Sterrett -Mr. Bones.- wrote: |
2 |
> On Thu, 29 Apr 2004, Lars Strojny wrote: |
3 |
> > On Thu, 29 Apr 2004 18:20:48 +0100 |
4 |
> > Tom Wesley <tom.wesley@××××××××.com> wrote: |
5 |
> > > You can |
6 |
> > > |
7 |
> > > if use nntp; then |
8 |
> > > epatch ${DISTDIR}/${nntp_patch} |
9 |
> > > fi |
10 |
> > |
11 |
> > I think |
12 |
> > if [ "`use nntp`" ] ; then |
13 |
> > is more elegant ;) |
14 |
> |
15 |
> Between the two, the first example is preferred. |
16 |
|
17 |
and by prefered he means 'do not use the following syntax anymore in ebuilds': |
18 |
[ `use nntp` ] |
19 |
[ "`use nntp`" ] |
20 |
[ -z "`use nntp`" ] |
21 |
[ -n "`use nntp`" ] |
22 |
-mike |
23 |
|
24 |
-- |
25 |
gentoo-dev@g.o mailing list |