Merge pull request #1553 from waynebrantley/patch-1

use openssl instead of shasum
pull/1560/head
Matt Butcher 9 years ago committed by GitHub
commit 5520c19349

@ -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."

Loading…
Cancel
Save