From: Wayne Davison Date: Wed, 27 Dec 2006 18:01:25 +0000 (+0000) Subject: - Make sure that our patched files can end up with the same mtime as X-Git-Url: https://mattmccutchen.net/rsync/rsync-patches.git/commitdiff_plain/a68c3b2e13a76a42ccd938d8c23995b610ad01b5 - Make sure that our patched files can end up with the same mtime as a file patched by a dependency. - Use --del instead of --delete when running rsync. --- diff --git a/verify-patches b/verify-patches index 0a786ea..6c77581 100755 --- a/verify-patches +++ b/verify-patches @@ -96,7 +96,7 @@ foreach my $diff (@ARGV) { &restore_cvsdir; next DIFF; } - sleep(1) if $prepare_source; # Ensure later diffs get later times. + sleep(1); # Ensure later diffs get later times. } if (!defined($conf_opts) && s#^\s+\./configure\s+##) { chomp($conf_opts = $_); @@ -210,7 +210,7 @@ sub apply_patch my($diff) = @_; undef @new; - system "rsync -a --delete --exclude='*~' cvsdir/ workdir/"; + system "rsync -a --del --exclude='*~' cvsdir/ workdir/"; print "\nApplying patch $diff...\n"; undef @rejects; my($saw_offset, $saw_fuzz);