about summary refs log tree commit diff
path: root/scripts/readmanifest.pm.in
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2004-12-29T22·17+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2004-12-29T22·17+0000
commit6270aa727d63ce4a4d27280f233a55f4c67d8285 (patch)
treed343758d7c18a2285f3edd28b316344645f4e347 /scripts/readmanifest.pm.in
parent4f07ebc67e74629724c441352a58b12143383129 (diff)
* Propagate patches from the source distribution to the destination
  distribution insofar they are applicable.

Diffstat (limited to 'scripts/readmanifest.pm.in')
-rw-r--r--scripts/readmanifest.pm.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/readmanifest.pm.in b/scripts/readmanifest.pm.in
index 31ea5f43cc56..8b9920b798d5 100644
--- a/scripts/readmanifest.pm.in
+++ b/scripts/readmanifest.pm.in
@@ -23,9 +23,9 @@ sub addPatch {
         }
     }
     
-    if (!$found) {
-        push @{$patchList}, $patch;
-    }
+    push @{$patchList}, $patch if !$found;
+
+    return !$found;
 }