Correcting legacy filename for checksum files.

This commit is contained in:
Daniel Baumann 2013-01-02 11:23:08 +01:00
parent bccf020023
commit 4b13d3864c
2 changed files with 4 additions and 4 deletions

View File

@ -49,7 +49,7 @@ do
;; ;;
*) *)
CHECKSUMS="${CHECKSUM}sums.txt" CHECKSUMS="${CHECKSUM}sum.txt"
;; ;;
esac esac
@ -68,7 +68,7 @@ do
\! -path './boot/boot.bin' \ \! -path './boot/boot.bin' \
\! -path './boot/grub/stage2_eltorito' \ \! -path './boot/grub/stage2_eltorito' \
\! -path './*SUMS' \ \! -path './*SUMS' \
\! -path './*sums.txt' \ \! -path './*sum.txt' \
-print0 | sort -z | xargs -0 ${CHECKSUM}sum > ../${CHECKSUMS} -print0 | sort -z | xargs -0 ${CHECKSUM}sum > ../${CHECKSUMS}
cat > ${CHECKSUMS} << EOF cat > ${CHECKSUMS} << EOF

View File

@ -56,7 +56,7 @@ do
;; ;;
*) *)
CHECKSUMS="${CHECKSUM}sums.txt" CHECKSUMS="${CHECKSUM}sum.txt"
;; ;;
esac esac
@ -72,7 +72,7 @@ do
cd ${DIRECTORY} cd ${DIRECTORY}
find . -type f \ find . -type f \
\! -path './*SUMS' \ \! -path './*SUMS' \
\! -path './*sums.txt' \ \! -path './*sum.txt' \
-print0 | sort -z | xargs -0 ${CHECKSUM}sum > ../${CHECKSUMS} -print0 | sort -z | xargs -0 ${CHECKSUM}sum > ../${CHECKSUMS}
cat > ${CHECKSUMS} << EOF cat > ${CHECKSUMS} << EOF