mirror of
https://github.com/netdata/netdata.git
synced 2025-04-07 06:45:39 +00:00
Fix usage of sha256sum in static builds. (#17495)
This commit is contained in:
parent
063e019fcc
commit
9184c37c92
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ fetch() {
|
|||
# Check SHA256 of gzip'd tar file (apparently alpine's sha256sum requires
|
||||
# two empty spaces between the checksum and the file's path)
|
||||
set +e
|
||||
echo "${sha256} ${NETDATA_MAKESELF_PATH}/tmp/${tar}" | sha256sum -c -s
|
||||
echo "${sha256} ${NETDATA_MAKESELF_PATH}/tmp/${tar}" | sha256sum --c --status
|
||||
local rc=$?
|
||||
if [ ${rc} -ne 0 ]; then
|
||||
echo >&2 "SHA256 verification of tar file ${tar} failed (rc=${rc})"
|
||||
|
|
Loading…
Add table
Reference in a new issue