summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@debian.org>2017-03-08 21:30:37 +0100
committerMattia Rizzolo <mattia@debian.org>2017-03-08 21:30:37 +0100
commit3d56ce21ea3ac90184f36f13a4474a989edb42f5 (patch)
tree770ee972526e4a9ed35cf114e359170bb590446f
parent0c02023a7149df575be4a325edf78539b02b8dd1 (diff)
Make the build reproducible: sort the md5sums file
Closes: #847031 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 b36a5d6..615f9fd 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