Merge pull request #312 from quiqueg/master

Fixed bash error caused by lack of double quotes
master
Jordan Harband 2013-10-25 09:32:59 -07:00
commit 788d87774f
1 changed files with 1 additions and 1 deletions

2
nvm.sh
View File

@ -389,7 +389,7 @@ nvm() {
if [ -z $VERSION ]; then if [ -z $VERSION ]; then
VERSION=`nvm_version $2` VERSION=`nvm_version $2`
fi fi
if [ ! -d $NVM_DIR/$VERSION ]; then if [ ! -d "$NVM_DIR/$VERSION" ]; then
echo "$VERSION version is not installed yet" echo "$VERSION version is not installed yet"
return 1 return 1
fi fi