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
|
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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue