httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Laurie <...@algroup.co.uk>
Subject Re: Portability: cp -R or cp -r or what?
Date Sat, 11 Apr 1998 16:20:12 GMT
Ralf S. Engelschall wrote:
> 
> In article <352F8AFB.8CC65B3E@algroup.co.uk> you wrote:
> > Ralf S. Engelschall wrote:
> >>
> >> In article <352E6069.A41C079F@algroup.co.uk> you wrote:
> >> > Ralf S. Engelschall wrote:
> >>
> >> >>  3. (cd $(ROOT)/htdocs/; find . -depth -print | cpio -o) |\
> >> >>     (cd $(datadir)/htdocs/; cpio -idmu)
> >>
> >> > shouldn't this be something like:
> >>
> >> > (cd $(ROOT)/htdocs/; find . -depth -print) | cpio -pdmu
> >> > $(datadir)/htdocs
> >>
> >> I tried to avoid the p switch because when I remember correctly this is not
> >> supported or at least not working correctly under all platforms. The splitted
> >> way above worked under all platforms I tried.
> 
> > Fair enough!
> 
> Ok, but the initial question remains: Which of the presented variants should
> we actually choose? the cp || cp, the tar or the cpio variant?  Is the cpio
> the best? Hmmm... I don't know. I would say the tar variant is the favorite
> because Apache is already distributed as a tarball, so the chance is high that
> the user has a working tar. Votes?

Unconventional, but the logic seems sound. I'm OK with tar, at least
until it proves to be a mistake :-)

Cheers,

Ben.

-- 
Ben Laurie            |Phone: +44 (181) 735 0686|  Apache Group member
Freelance Consultant  |Fax:   +44 (181) 735 0689|http://www.apache.org
and Technical Director|Email: ben@algroup.co.uk |
A.L. Digital Ltd,     |Apache-SSL author    http://www.apache-ssl.org/
London, England.      |"Apache: TDG" http://www.ora.com/catalog/apache

Mime
View raw message