Gentoo Archives: gentoo-dev

From: James Le Cuirot <chewi@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] find -delete safe to use?
Date: Sat, 14 Mar 2015 23:15:19
Message-Id: 20150314231457.7b38ce18@symphony.aura-online.co.uk
1 Hello all,
2
3 I've long considered the -delete argument to find to be widely supported
4 enough that using it in ebuilds should not be a problem. Indeed, a grep
5 of the tree shows that it is frequently used, even in eclasses.
6
7 I've just noticed that the man page states that it is not present in
8 the BSD version. findutils is now included in @system, even on BSD, but
9 the ebuild looks as though it gets installed as gfind rather than find.
10
11 On a related note, should I ever include findutils in DEPEND? I've seen
12 some instances of this, occasionally conditional on userland_GNU. On
13 the one hand, it should always be present now, given what I said about
14 @system above but on the other hand, if it gets installed as gfind then
15 there's no point in pulling it in if you're only going to call find.
16
17 Can someone please put my mind at rest? :)
18
19 --
20 James Le Cuirot (chewi)
21 Gentoo Linux Developer

Replies

Subject Author
Re: [gentoo-dev] find -delete safe to use? James Le Cuirot <chewi@g.o>
Re: [gentoo-dev] find -delete safe to use? Mike Frysinger <vapier@g.o>
Re: [gentoo-dev] find -delete safe to use? Ulrich Mueller <ulm@g.o>