|
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
afabian
austin.rr.com
Date: Wed Nov 17 2004 - 18:12:08 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Wed, Nov 17, 2004 at 08:01:38PM +0100, marc
bruenink.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 (afabian
austin.rr.com)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]