From 90be1cb4b56839c99a1ae632a019933c85920d39 Mon Sep 17 00:00:00 2001 From: Chris Lamb Date: Wed, 16 Apr 2008 00:54:08 +0100 Subject: Use "find -path" for matching "path/to/file" files (Closes: #476206) This means that /isolinux/isolinux.bin and /boot/grub/stage2_eltorito are not included in md5sum files anymore as intended. It also prevents a strange and verbose warning from appearing in build logs. --- helpers/lh_binary_md5sum | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpers/lh_binary_md5sum b/helpers/lh_binary_md5sum index edc636e..14ecaa3 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 | sort -z | xargs -0 md5sum > ../md5sum.txt +find . -type f \! -path './isolinux/isolinux.bin' \! -path './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. -- cgit v1.0