httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@engelschall.com (Ralf S. Engelschall)
Subject Re: Portability: cp -R or cp -r or what?
Date Sat, 11 Apr 1998 07:15:25 GMT

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.

                                       Ralf S. Engelschall
                                       rse@engelschall.com
                                       www.engelschall.com

Mime
View raw message