Skip to content

Commit

Permalink
verify with echo and cat
Browse files Browse the repository at this point in the history
  • Loading branch information
bjia56 committed May 6, 2024
1 parent 693e33a commit 52f25dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ SCRIPT_DIR="$(dirname "$(readlink -f "$0")")"
function verify_checksum () {
file="$1"
filename=$(basename $file)
sha256sum -c ${SCRIPT_DIR}/../checksums/$file.sha256
echo "$(cat ${SCRIPT_DIR}/../checksums/$file.sha256)" | sha256sum -c
}

function download_and_verify () {
Expand Down

0 comments on commit 52f25dd

Please sign in to comment.