Merge pull request #181 from andrwj/master

fixed 'bash command not found sha1sum' in Mac OS
This commit is contained in:
Tim Caswell
2012-12-08 12:59:52 -08:00

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