diff options
author | Austin S. Hemmelgarn <austin@netdata.cloud> | 2024-04-23 14:05:47 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-23 14:05:47 +0300 |
commit | 9184c37c92f8915c04caaecd8827946910cc1ea4 (patch) | |
tree | d87d594691739fdbdc74bf4928568de66b4cc0ea /packaging | |
parent | 063e019fcc42171607e7f13fa8a857cf69e044c5 (diff) |
Fix usage of sha256sum in static builds. (#17495)
Diffstat (limited to 'packaging')
-rwxr-xr-x | packaging/makeself/functions.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/makeself/functions.sh b/packaging/makeself/functions.sh index c3289c7cd2..4057fbee0d 100755 --- a/packaging/makeself/functions.sh +++ b/packaging/makeself/functions.sh @@ -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})" |