summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@debian.org>2017-03-09 00:31:56 +0100
committerMattia Rizzolo <mattia@debian.org>2017-03-09 00:31:56 +0100
commit8498f9027d0b444dba6c5ffc70882ddc9e0dcd92 (patch)
tree44ce297f5afd22f3a98f6744519f130fcfab6d73
parente4ddffc69d3225cc61833c673b0bb9f6b6579e2f (diff)
Make the build reproducible: sort the md5sums file
Closes: #847034 Thanks: Valerie R Young for the patch Signed-off-by: Mattia Rizzolo <mattia@debian.org>
-rw-r--r--debian/implicit2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/implicit b/debian/implicit
index 9e5345d..e87ac4c 100644
--- a/debian/implicit
+++ b/debian/implicit
@@ -87,7 +87,7 @@ deb-checkuid:
: debian/$*/DEBIAN/md5sums
@rm -f debian/$*/DEBIAN/md5sums
@cd debian/$* && find * -path 'DEBIAN' -prune -o \
- -type f -exec md5sum {} >>DEBIAN/md5sums \;
+ -type f -exec md5sum {} \; | LC_ALL=C sort >>DEBIAN/md5sums
%.deb-DEBIAN: %.deb-checkdir %.deb-DEBIAN-base %.deb-DEBIAN-scripts \
%.deb-DEBIAN-md5sums
: debian/$*/DEBIAN/ ok