From 5168f9bb005aa0d25cb31fdd7aba1bac951b2251 Mon Sep 17 00:00:00 2001
From: Eelco Dolstra <e.dolstra@tudelft.nl>
Date: Fri, 24 Feb 2006 16:02:36 +0000
Subject: [PATCH] * Canonicalise manifests a bit by sorting them.

---
 scripts/readmanifest.pm.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/readmanifest.pm.in b/scripts/readmanifest.pm.in
index f71a2f081..28198eba4 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";
-- 
GitLab