logo

live-bootstrap

Mirror of <https://github.com/fosslinux/live-bootstrap>
commit: d2c669e0fcae424bac94c3a49352e712d6f5bcc2
parent 58c538330e58d02132a2dffea864383bec3f0791
Author: rick-masters <grick23@gmail.com>
Date:   Mon,  5 Dec 2022 18:14:19 +0000

Always use file for checksums, mes built sha256sum doesn't support stdin.

Diffstat:

Msysa/helpers.sh4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/sysa/helpers.sh b/sysa/helpers.sh @@ -209,7 +209,9 @@ interpret_source_line() { if ! [ -e "${fname}" ]; then curl -L "${url}" --output "${fname}" fi - echo "${checksum} ${fname}" | sha256sum -c + echo "${checksum} ${fname}" > "${fname}.sum" + sha256sum -c "${fname}.sum" + rm "${fname}.sum" } # Default get function that downloads source tarballs.