Gentoo Archives: gentoo-dev

From: Donnie Berkholz <dberkholz@g.o>
To: gentoo-dev@l.g.o
Cc: opfer@g.o
Subject: Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in app-misc/note: ChangeLog note-1.3.3.ebuild
Date: Mon, 15 Oct 2007 08:14:12
Message-Id: 20071015080102.GH23990@supernova
In Reply to: Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in app-misc/note: ChangeLog note-1.3.3.ebuild by "Bo Ørsted Andresen"
1 On 09:56 Mon 15 Oct , Bo Ørsted Andresen wrote:
2 > Written like this u certainly can't since the output of the find expression is
3 > subjected to word splitting before u gets set. Hence this will fail if ${D}
4 > contains spaces even if ${u} gets quoted. The best way to solve this is to use
5 > find ... -print0 | xargs -0 rm. Unfortunately that solution means using GNU
6 > extensions that I'm not sure are guaranteed to be available in the ebuild
7 > environment. If they aren't maybe they should be.
8
9 Cool, I hadn't dealt with this before. Thanks for pointing that out! We
10 were just talking about whether to require GNU find the other day, but I
11 don't recall the conclusion. Does anyone else?
12
13 Thanks,
14 Donnie
15 --
16 gentoo-dev@g.o mailing list

Replies