feat(checksum): update to get/get-helm-3 to match shasum fix

Noticed get/get-helm-3 needed update to match shasum fix.
Making least change to work with shasum fix.

Signed-off-by: Thilak Somasundaram <t2same@gmail.com>
pull/7277/head
Thilak Somasundaram 5 years ago
parent 96a1434027
commit 5680f4d506

@ -137,7 +137,7 @@ downloadFile() {
installFile() {
HELM_TMP="$HELM_TMP_ROOT/$PROJECT_NAME"
local sum=$(openssl sha1 -sha256 ${HELM_TMP_FILE} | awk '{print $2}')
local expected_sum=$(cat ${HELM_SUM_FILE})
local expected_sum=$(cat ${HELM_SUM_FILE} | awk '{print $1}')
if [ "$sum" != "$expected_sum" ]; then
echo "SHA sum of ${HELM_TMP_FILE} does not match. Aborting."
exit 1

@ -133,7 +133,7 @@ downloadFile() {
installFile() {
HELM_TMP="$HELM_TMP_ROOT/$PROJECT_NAME"
local sum=$(openssl sha1 -sha256 ${HELM_TMP_FILE} | awk '{print $2}')
local expected_sum=$(cat ${HELM_SUM_FILE})
local expected_sum=$(cat ${HELM_SUM_FILE} | awk '{print $1}')
if [ "$sum" != "$expected_sum" ]; then
echo "SHA sum of ${HELM_TMP_FILE} does not match. Aborting."
exit 1

Loading…
Cancel
Save