Skip to content
Snippets Groups Projects
Commit 11678258 authored by cyberta's avatar cyberta
Browse files

fix sha256 fingerprint generation of downloaded golang archive

parent f3229dc6
No related branches found
No related tags found
1 merge request!7fix sha256 fingerprint generation of downloaded golang archive
......@@ -38,7 +38,7 @@ else
if [[ "$OSTYPE" == "linux-gnu"* ]]; then
ACTUAL_FP=`sha256sum $GO_VERSION.tar.gz | cut -d " " -f1`
else
ACTUAL_FP=`shasum -a 512256 $GO_VERSION.tar.gz | cut -d " " -f1`
ACTUAL_FP=`shasum -a 256 $GO_VERSION.tar.gz | cut -d " " -f1`
fi
if [[ ! $ACTUAL_FP == $EXPECTED_FP ]]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment