Skip to content

Commit

Permalink
Merge pull request #181 from andrwj/master
Browse files Browse the repository at this point in the history
fixed 'bash command not found sha1sum' in Mac OS
  • Loading branch information
creationix committed Dec 8, 2012
2 parents 68f7dc9 + 5596054 commit 0a4d3a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nvm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 0a4d3a2

Please sign in to comment.