Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: vapier@g.o
Subject: Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in net-misc/openvpn: ChangeLog openvpn-2.1.3.ebuild
Date: Wed, 13 Oct 2010 16:43:09
Message-Id: 20101013184155.6790fd0b@pomiocik.lan
In Reply to: Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in net-misc/openvpn: ChangeLog openvpn-2.1.3.ebuild by Mike Frysinger
1 On Wed, 13 Oct 2010 10:13:58 -0400
2 Mike Frysinger <vapier@g.o> wrote:
3
4 > > any_exists() {
5 > > local f
6 > >
7 > > for f; do
8 > > [[ -e $f ]] && return 0
9 > > done
10 > >
11 > > return 1
12 > > }
13 >
14 > perhaps if it had a better name and were in a common location (eclass)
15
16 has_file()?
17
18 --
19 Best regards,
20 Michał Górny

Attachments

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

Replies