Hi,

On 19.04.2012 14:04, Daniel Kriesten wrote:
> Hi all,
> 
> Am 19.04.2012 um 13:29 schrieb Andreas Bießmann:
> 
>> Hi all,
>>
>> On 19.04.2012 12:41, Daniel Kriesten wrote:
>>> Hi Michael,
>>> at leas on a Mac (OS X 10.6.8) the BSD find supports -print0
>>
>> yes, OS X delivered BSD find supports -print0, but it does _not_ support
>> omitting the path!
>> [...]
>> OR leaving the xargs -r param
>>
>> ---8<---
>> --- a/Makefile.in
>> +++ b/Makefile.in
>> @@ -63,7 +63,7 @@ environment:
>>
>> clean:
>>      @rm -f .done
>> -    @find "$(abs_srcdir)/bin" -type l -print0 | xargs -r -0 rm
>> +    @find "$(abs_srcdir)/bin" -type l -print0 | xargs -0 rm
>>      @$(MAKE) -C "$(abs_srcdir)/scripts/kconfig" clean
>> --->8---
> 
> This one is my promoted solution in yesterdays patch, except I would 
> recommend 'rm -f' to avoid errors if find returns an empty list.

well ok, +1 for your solution. I maybe missed that in my mail history
(can you please send patches inline next time?).

best regards

Andreas Bießmann

-- 
ptxdist mailing list
[email protected]

Reply via email to