about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2006-02-24T16·02+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2006-02-24T16·02+0000
commit5168f9bb005aa0d25cb31fdd7aba1bac951b2251 (patch)
treed56273e219b4df57e419af2df7a18372ca080f6e
parent9d3bee50ad9e52cd46eefe06a4c6b55794e83a9d (diff)
* Canonicalise manifests a bit by sorting them.
-rw-r--r--scripts/readmanifest.pm.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/readmanifest.pm.in b/scripts/readmanifest.pm.in
index f71a2f0811b8..28198eba4d1d 100644
--- a/scripts/readmanifest.pm.in
+++ b/scripts/readmanifest.pm.in
@@ -172,7 +172,7 @@ sub writeManifest
     print MANIFEST "  ManifestVersion: 3\n";
     print MANIFEST "}\n";
 
-    foreach my $storePath (keys %{$narFiles}) {
+    foreach my $storePath (sort (keys %{$narFiles})) {
         my $narFileList = $$narFiles{$storePath};
         foreach my $narFile (@{$narFileList}) {
             print MANIFEST "{\n";
@@ -189,7 +189,7 @@ sub writeManifest
         }
     }
     
-    foreach my $storePath (keys %{$patches}) {
+    foreach my $storePath (sort (keys %{$patches})) {
         my $patchList = $$patches{$storePath};
         foreach my $patch (@{$patchList}) {
             print MANIFEST "patch {\n";