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 |