From d5ac81a8e36accc4fa127ddeddca2f95a803f04d Mon Sep 17 00:00:00 2001 From: Daniel Baumann <daniel@debian.org> Date: Wed, 9 Apr 2008 13:31:46 +0200 Subject: Sort md5sum.txt files again after filename. --- helpers/lh_source_md5sum | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'helpers/lh_source_md5sum') diff --git a/helpers/lh_source_md5sum b/helpers/lh_source_md5sum index af3a92e9d..776fa06b3 100755 --- a/helpers/lh_source_md5sum +++ b/helpers/lh_source_md5sum @@ -60,7 +60,7 @@ fi # Calculating md5sums cd source -find . -type f -print0 | xargs -0 md5sum > ../md5sum.txt +find . -type f -print0 | sort -z | xargs -0 md5sum > ../md5sum.txt cat > md5sum.txt << EOF This file contains the list of md5 checksums of all files on this medium. @@ -71,7 +71,7 @@ or, manually with: 'md5sum -c md5sum.txt'. EOF -sort ../md5sum.txt >> md5sum.txt +cat ../md5sum.txt >> md5sum.txt rm -f ../md5sum.txt cd "${OLDPWD}" -- cgit v1.2.3