Correcting legacy filename for checksum files.
This commit is contained in:
parent
bccf020023
commit
4b13d3864c
|
@ -49,7 +49,7 @@ do
|
|||
;;
|
||||
|
||||
*)
|
||||
CHECKSUMS="${CHECKSUM}sums.txt"
|
||||
CHECKSUMS="${CHECKSUM}sum.txt"
|
||||
;;
|
||||
esac
|
||||
|
||||
|
@ -68,7 +68,7 @@ do
|
|||
\! -path './boot/boot.bin' \
|
||||
\! -path './boot/grub/stage2_eltorito' \
|
||||
\! -path './*SUMS' \
|
||||
\! -path './*sums.txt' \
|
||||
\! -path './*sum.txt' \
|
||||
-print0 | sort -z | xargs -0 ${CHECKSUM}sum > ../${CHECKSUMS}
|
||||
|
||||
cat > ${CHECKSUMS} << EOF
|
||||
|
|
|
@ -56,7 +56,7 @@ do
|
|||
;;
|
||||
|
||||
*)
|
||||
CHECKSUMS="${CHECKSUM}sums.txt"
|
||||
CHECKSUMS="${CHECKSUM}sum.txt"
|
||||
;;
|
||||
esac
|
||||
|
||||
|
@ -72,7 +72,7 @@ do
|
|||
cd ${DIRECTORY}
|
||||
find . -type f \
|
||||
\! -path './*SUMS' \
|
||||
\! -path './*sums.txt' \
|
||||
\! -path './*sum.txt' \
|
||||
-print0 | sort -z | xargs -0 ${CHECKSUM}sum > ../${CHECKSUMS}
|
||||
|
||||
cat > ${CHECKSUMS} << EOF
|
||||
|
|
Loading…
Reference in New Issue