Merge pull request #181 from andrwj/master

fixed 'bash command not found sha1sum' in Mac OS
master
Tim Caswell 2012-12-08 12:59:52 -08:00
commit 0a4d3a2944
1 changed files with 1 additions and 1 deletions

2
nvm.sh
View File

@ -185,7 +185,7 @@ nvm()
echo 'NVM Needs curl to proceed.' >&2;
fi
if [ ! `which shasum > /dev/null 2>&1` ]; then
if [ -z "`which shasum`" ]; then
shasum='sha1sum'
fi