build patches

Andrew Bartlett abartlet at samba.org
Mon Mar 2 03:38:55 GMT 2009


On Sun, 2009-03-01 at 21:16 +0100, Björn JACKE wrote:
> Hi all,
> 
> some volunteer here to push this? :-)

Isn't there a risk with 
-       @-find $(samba4srcdir) -name '*.o' -exec rm -f '{}' \;
+       @-find $(samba4srcdir) -name '*.o' | xargs rm -f
that the path is no longer quoted?

You could move to 

@-find $(samba4srcdir) -name '*.o' -print0 | xargs -0 rm -f 

But I'm not sure even that is safe (and portable).

Andrew Bartlett
-- 
Andrew Bartlett
http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Red Hat Inc.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20090302/8f3994ab/attachment.bin


More information about the samba-technical mailing list