mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-05-02 14:26:23 -04:00
misc: replace sha256sum with shasum -a 256 (#1681)
This commit is contained in:
parent
53d8a2d67e
commit
ec1d5e9fb5
10 changed files with 24 additions and 24 deletions
|
@ -31,7 +31,7 @@ platforms=(
|
|||
)
|
||||
|
||||
for platform in "${platforms[@]}"; do
|
||||
computed_hash=$(sha256sum "${pseudo_version_tools[$platform]}" | cut -d' ' -f1)
|
||||
computed_hash=$(shasum -a 256 "${pseudo_version_tools[$platform]}" | cut -d' ' -f1)
|
||||
# compare hash to saved hash in ${BUILD_WORKSPACE_DIRECTORY}/tools/pseudo_version_${platform}.sha256
|
||||
saved_hash=$(cat "${BUILD_WORKSPACE_DIRECTORY}/tools/pseudo_version_${platform}.sha256")
|
||||
if [[ ${computed_hash} != "${saved_hash}" ]]; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue