Fixed referencing the wrong env variable if SHA sum doesn't match.

pull/4207/head
Michal Zerola 8 years ago committed by Sebastien Plisson
parent cc5f539ed3
commit af4c78da31

@ -134,7 +134,7 @@ installFile() {
local sum=$(openssl sha1 -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."
echo "SHA sum of ${HELM_TMP_FILE} does not match. Aborting."
exit 1
fi

Loading…
Cancel
Save