mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-15 15:55:24 +01:00
Always use file for checksums, mes built sha256sum doesn't support stdin.
This commit is contained in:
parent
58c538330e
commit
d2c669e0fc
1 changed files with 3 additions and 1 deletions
|
|
@ -209,7 +209,9 @@ interpret_source_line() {
|
||||||
if ! [ -e "${fname}" ]; then
|
if ! [ -e "${fname}" ]; then
|
||||||
curl -L "${url}" --output "${fname}"
|
curl -L "${url}" --output "${fname}"
|
||||||
fi
|
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.
|
# Default get function that downloads source tarballs.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue