stas 2002/11/18 23:38:02 Modified: bin site_build Log: preserve the file attrs when copying the files to /www/perl.apache.org/ Revision Changes Path 1.7 +1 -1 modperl-docs/bin/site_build Index: site_build =================================================================== RCS file: /home/cvs/modperl-docs/bin/site_build,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- site_build 15 Aug 2002 15:10:04 -0000 1.6 +++ site_build 19 Nov 2002 07:38:01 -0000 1.7 @@ -57,7 +57,7 @@ } sub online_sync { - system("cp -r $rel/ $dst/"); + system("cp -pr $rel/ $dst/"); system("find $dst -type d -exec chmod g+rwx {} \\; >/dev/null 2>&1"); system("find $dst -type f -exec chmod g+wr {} \\; >/dev/null 2>&1"); }
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]