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 2016-01-24 11:53:19 -06:00
parent f1bca106a8
commit f73bfb6578
1 changed files with 1 additions and 1 deletions

2
nvm.sh
View File

@ -786,7 +786,7 @@ nvm_checksum() {
elif nvm_has "bssl" && ! nvm_is_alias "bssl"; then elif nvm_has "bssl" && ! nvm_is_alias "bssl"; then
NVM_CHECKSUM="$(bssl sha256sum "$1" | awk '{print $1}')" NVM_CHECKSUM="$(bssl sha256sum "$1" | awk '{print $1}')"
else 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 echo "WARNING: Continuing *without checksum verification*" >&2
return return
fi fi