Browse Source

Updated warning message when sha256sum utility not found

Relates to @ljharb's comment on the warning message not including all of the
utilties searched for.

https://github.com/creationix/nvm/pull/981#discussion_r50638351
Brandon Wood 9 years ago
parent
commit
f73bfb6578
  1. 2
      nvm.sh

2
nvm.sh

@ -786,7 +786,7 @@ nvm_checksum() { @@ -786,7 +786,7 @@ nvm_checksum() {
elif nvm_has "bssl" && ! nvm_is_alias "bssl"; then
NVM_CHECKSUM="$(bssl sha256sum "$1" | awk '{print $1}')"
else
echo "Unaliased sha256sum, sha256, or gsha256sum not found." >&2
echo "Unaliased sha256sum, shasum, sha256, gsha256sum, openssl, libressl, or bssl not found." >&2
echo "WARNING: Continuing *without checksum verification*" >&2
return
fi

Loading…
Cancel
Save