diff options
author | Daniel Baumann <daniel@debian.org> | 2008-04-09 13:31:46 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:03:32 +0100 |
commit | c37435dcc5c36ae46fd6f4a0fb9542da0595524b (patch) | |
tree | f7cd08048ab34ae4494d625177870d0d3994ff06 /helpers | |
parent | 1d1e48b39408d199d244457ada457346ddeffe8a (diff) | |
download | live-build-c37435dcc5c36ae46fd6f4a0fb9542da0595524b.zip live-build-c37435dcc5c36ae46fd6f4a0fb9542da0595524b.tar.gz |
Sort md5sum.txt files again after filename.
Diffstat (limited to 'helpers')
-rwxr-xr-x | helpers/lh_binary_md5sum | 4 | ||||
-rwxr-xr-x | helpers/lh_source_md5sum | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/helpers/lh_binary_md5sum b/helpers/lh_binary_md5sum index 40540f2..d48bc64 100755 --- a/helpers/lh_binary_md5sum +++ b/helpers/lh_binary_md5sum @@ -55,7 +55,7 @@ fi # Calculating md5sums cd binary -find . -type f \! -name 'isolinux/isolinux.bin' \! -name 'boot/grub/stage2_eltorito' -print0 | xargs -0 md5sum > ../md5sum.txt +find . -type f \! -name 'isolinux/isolinux.bin' \! -name 'boot/grub/stage2_eltorito' -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. @@ -66,7 +66,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}" diff --git a/helpers/lh_source_md5sum b/helpers/lh_source_md5sum index af3a92e..776fa06 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}" |