From d0f4758596452c29164e8594aa135b554997f940 Mon Sep 17 00:00:00 2001 From: Hugues Lepesant Date: Wed, 26 Jul 2017 11:38:42 +0200 Subject: [PATCH] fix sha to dgst --- scripts/get | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/get b/scripts/get index 748b0015c..8d6ba0a95 100755 --- a/scripts/get +++ b/scripts/get @@ -130,7 +130,7 @@ downloadFile() { # installs it. installFile() { HELM_TMP="/tmp/$PROJECT_NAME" - local sum=$(openssl sha -sha256 ${HELM_TMP_FILE} | awk '{print $2}') + local sum=$(openssl dgst -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."