Gentoo Archives: gentoo-dev

From: Mike Frysinger <vapier@g.o>
To: "Michał Górny" <mgorny@g.o>
Cc: gentoo-dev@l.g.o, "Amadeusz Żołnowski" <aidecoe@×××××××.name>
Subject: Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in net-misc/openvpn: ChangeLog openvpn-2.1.3.ebuild
Date: Mon, 18 Oct 2010 18:06:50
Message-Id: 201010181406.27381.vapier@gentoo.org
In Reply to: Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in net-misc/openvpn: ChangeLog openvpn-2.1.3.ebuild by "Michał Górny"
1 On Monday, October 18, 2010 03:08:15 Michał Górny wrote:
2 > On Wed, 13 Oct 2010 17:46:43 -0400 Mike Frysinger wrote:
3 > > On Wednesday, October 13, 2010 15:57:17 Amadeusz Żołnowski wrote:
4 > > > And why putting different tasks into one function?
5 > >
6 > > for the same reason we dont have separate test binaries: test_exist,
7 > > test_file, test_dir, etc...
8 > >
9 > > it makes more sense in my mind to combine the functionality.
10 >
11 > And we finally reach the point where there is no reason to implement
12 > a new function when it's supposed to be basically longer and more
13 > unclear to use than:
14 >
15 > [[ -f a || -f b || -f c ]]
16
17 except that we're using globs, so our example isnt applicable.
18 [[ -f */a ]]
19 -mike

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies