Permalink
Browse files

Merge pull request #181 from andrwj/master

fixed 'bash command not found sha1sum' in Mac OS
  • Loading branch information...
2 parents 68f7dc9 + 5596054 commit 0a4d3a29440ab65db0bde4c1b1de25ed7cbbf280 @creationix committed Dec 8, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 nvm.sh
View
@@ -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

0 comments on commit 0a4d3a2

Please sign in to comment.