admin: distfiles/file-fetcher.pl - scp -p to preserve timestamps (will it c...
glen
glen at pld-linux.org
Wed Dec 8 20:54:50 CET 2010
Author: glen Date: Wed Dec 8 19:54:50 2010 GMT
Module: admin Tag: HEAD
---- Log message:
- scp -p to preserve timestamps (will it corrupt file modes now?)
---- Files affected:
admin/distfiles:
file-fetcher.pl (1.55 -> 1.56)
---- Diffs:
================================================================
Index: admin/distfiles/file-fetcher.pl
diff -u admin/distfiles/file-fetcher.pl:1.55 admin/distfiles/file-fetcher.pl:1.56
--- admin/distfiles/file-fetcher.pl:1.55 Wed Dec 8 20:43:08 2010
+++ admin/distfiles/file-fetcher.pl Wed Dec 8 20:54:45 2010
@@ -107,7 +107,7 @@
sub copy_to_df($$)
{
my ($from, $to) = @_;
- my $cmd = "scp -r -B -q $from $df_scp/$to";
+ my $cmd = "scp -pr -B -q $from $df_scp/$to";
open(E, "$cmd 2>&1 |") or die;
my $oops = "";
while (<E>) {
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/admin/distfiles/file-fetcher.pl?r1=1.55&r2=1.56&f=u
More information about the pld-cvs-commit
mailing list