forked from sig_core/toolkit
use -L to snuff out symlinks
This commit is contained in:
parent
7d2ef9a553
commit
40463a6791
@ -35,7 +35,7 @@ for COMPOSE in "${NONSIG_COMPOSE[@]}"; do
|
|||||||
for file in *.iso; do
|
for file in *.iso; do
|
||||||
printf "# %s: %s bytes\n%s\n" \
|
printf "# %s: %s bytes\n%s\n" \
|
||||||
"${file}" \
|
"${file}" \
|
||||||
"$(stat -c %s ${file})" \
|
"$(stat -c %s ${file} -L)" \
|
||||||
"$(sha256sum --tag ${file})" \
|
"$(sha256sum --tag ${file})" \
|
||||||
| sudo tee -a CHECKSUM;
|
| sudo tee -a CHECKSUM;
|
||||||
done
|
done
|
||||||
|
@ -35,7 +35,7 @@ for COMPOSE in "${NONSIG_COMPOSE[@]}"; do
|
|||||||
for file in *.iso; do
|
for file in *.iso; do
|
||||||
printf "# %s: %s bytes\n%s\n" \
|
printf "# %s: %s bytes\n%s\n" \
|
||||||
"${file}" \
|
"${file}" \
|
||||||
"$(stat -c %s ${file})" \
|
"$(stat -c %s ${file} -L)" \
|
||||||
"$(sha256sum --tag ${file})" \
|
"$(sha256sum --tag ${file})" \
|
||||||
| sudo tee -a CHECKSUM;
|
| sudo tee -a CHECKSUM;
|
||||||
done
|
done
|
||||||
|
@ -39,13 +39,13 @@ for COMPOSE in "${NONSIG_COMPOSE[@]}"; do
|
|||||||
for file in *.iso; do
|
for file in *.iso; do
|
||||||
printf "# %s: %s bytes\n%s\n" \
|
printf "# %s: %s bytes\n%s\n" \
|
||||||
"${file}" \
|
"${file}" \
|
||||||
"$(stat -c %s ${file})" \
|
"$(stat -c %s ${file} -L)" \
|
||||||
"$(sha256sum --tag ${file})" \
|
"$(sha256sum --tag ${file})" \
|
||||||
| sudo tee -a CHECKSUM;
|
| sudo tee -a CHECKSUM;
|
||||||
|
|
||||||
printf "# %s: %s bytes\n%s\n" \
|
printf "# %s: %s bytes\n%s\n" \
|
||||||
"${file}" \
|
"${file}" \
|
||||||
"$(stat -c %s ${file})" \
|
"$(stat -c %s ${file} -L)" \
|
||||||
"$(sha256sum --tag ${file})" \
|
"$(sha256sum --tag ${file})" \
|
||||||
| sudo tee -a "${file}.CHECKSUM"
|
| sudo tee -a "${file}.CHECKSUM"
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@ for ARCH in "${ARCHES[@]}"; do
|
|||||||
for file in *.iso; do
|
for file in *.iso; do
|
||||||
printf "# %s: %s bytes\n%s\n" \
|
printf "# %s: %s bytes\n%s\n" \
|
||||||
"${file}" \
|
"${file}" \
|
||||||
"$(stat -c %s ${file})" \
|
"$(stat -c %s ${file} -L)" \
|
||||||
"$(sha256sum --tag ${file})" \
|
"$(sha256sum --tag ${file})" \
|
||||||
| sudo tee -a CHECKSUM;
|
| sudo tee -a CHECKSUM;
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user