- Make sure that our patched files can end up with the same mtime as
authorWayne Davison <wayned@samba.org>
Wed, 27 Dec 2006 18:01:25 +0000 (18:01 +0000)
committerWayne Davison <wayned@samba.org>
Wed, 27 Dec 2006 18:01:25 +0000 (18:01 +0000)
  a file patched by a dependency.
- Use --del instead of --delete when running rsync.

verify-patches

index 0a786ea..6c77581 100755 (executable)
@@ -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);