OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: general porting questions

afabianaustin.rr.com
Date: Wed Nov 17 2004 - 18:12:08 CST


On Wed, Nov 17, 2004 at 08:01:38PM +0100, marcbruenink.de wrote:
> On Wed, Nov 17, 2004 at 01:36:54AM +0100, Aleksander Piotrowski wrote:
> >
> > cd ${WRKSRC}; tar cf - * | \
> > tar xf - -C ${PREFIX}/lib/coccinella/
>
> I don't like this. Its the same as a "cp -r", isn't it? It doesn't do
> anything about ownership and attributes of the files.

The -r flag to cp is deprecated and not even documented in the man
page. (But mentioned to be implemented to be compatible with historic
versions of cp.) Adding 'p' to the xf above will preserve onwership
and attributes.

--
Adam Fabian (afabianaustin.rr.com)