Commit 5520c193 authored by Matt Butcher's avatar Matt Butcher Committed by GitHub

Merge pull request #1553 from waynebrantley/patch-1

use openssl instead of shasum
parents 50beadbe 1f17788d
......@@ -95,7 +95,7 @@ downloadFile() {
# installs it.
installFile() {
HELM_TMP="/tmp/$PROJECT_NAME"
local sum=$(shasum -a 256 ${HELM_TMP_FILE} | awk '{print $1}')
local sum=$(openssl sha -sha256 ${HELM_TMP_FILE} | awk '{print $2}')
local expected_sum=$(cat ${HELM_SUM_FILE})
if [ "$sum" != "$expected_sum" ]; then
echo "SHA sum of $HELM_TMP does not match. Aborting."
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment