Added missing no-delete check.
[rsync/rsync-patches.git] / verify-patches
index 1185bf4..4b76220 100755 (executable)
@@ -73,7 +73,7 @@ foreach my $diff (@ARGV) {
     open(IN, "patches/$diff") or die $!;
     while (<IN>) {
        last if /^--- /;
-       if (/^Depends-On-Patch: (\S+.diff)$/) {
+       if (m#^\s+patch -p1 <patches/(\S+.diff)# && $1 ne $diff) {
            my $dep = $1;
            $has_dependencies = 1;
            print "\nApplying dependency patch $dep...\n";