From: Roy Marples <uberlord@gentoo.org>
To: gentoo-dev@lists.gentoo.org
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 09:40:02 +0100 [thread overview]
Message-ID: <1192437602.1277.6.camel@uberlaptop.development.ltl> (raw)
In-Reply-To: <20071015080102.GH23990@supernova>
On Mon, 2007-10-15 at 01:01 -0700, Donnie Berkholz wrote:
> On 09:56 Mon 15 Oct , Bo Ørsted Andresen wrote:
> > Written like this u certainly can't since the output of the find expression is
> > subjected to word splitting before u gets set. Hence this will fail if ${D}
> > contains spaces even if ${u} gets quoted. The best way to solve this is to use
> > find ... -print0 | xargs -0 rm. Unfortunately that solution means using GNU
> > extensions that I'm not sure are guaranteed to be available in the ebuild
> > environment. If they aren't maybe they should be.
>
> Cool, I hadn't dealt with this before. Thanks for pointing that out! We
> were just talking about whether to require GNU find the other day, but I
> don't recall the conclusion. Does anyone else?
I think most people wanted to force all GNU tools.
So once it's all keyworded BSD and installed outside of our normal $PATH
or g prefixed (gfind, gsed, etc) then you can start
DEPEND="your-find-of-choice" and use it in the ebuild.
But we're not there yet so lets use something that all platforms
support. Like say find's -delete action which should fit the bill quite
nicely.
Thanks
Roy
--
gentoo-dev@gentoo.org mailing list
next prev parent reply other threads:[~2007-10-15 8:52 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <E1IhKZ7-000421-Hg@stork.gentoo.org>
2007-10-15 7:42 ` [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in app-misc/note: ChangeLog note-1.3.3.ebuild Donnie Berkholz
2007-10-15 7:56 ` Bo Ørsted Andresen
2007-10-15 8:01 ` Donnie Berkholz
2007-10-15 8:40 ` Roy Marples [this message]
2007-10-15 8:07 ` Ulrich Mueller
2007-10-15 8:35 ` Roy Marples
2007-10-15 8:43 ` Fabian Groffen
2007-10-15 9:07 ` Roy Marples
2007-10-15 22:43 ` [gentoo-dev] " Steve Long
2007-10-15 23:48 ` Gilles Dartiguelongue
2007-10-16 2:14 ` [gentoo-dev] " Steve Long
2007-10-16 2:32 ` Elias Pipping
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1192437602.1277.6.camel@uberlaptop.development.ltl \
--to=uberlord@gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox