commit | b4a9c14d4ef61b4c0c6670f1e5ed633a6cb03a00 | [log] [tgz] |
---|---|---|
author | Matthew Alexander <developer@queg.net> | Thu Oct 24 18:59:37 2013 -0700 |
committer | Matthew Alexander <developer@queg.net> | Thu Oct 24 18:59:37 2013 -0700 |
tree | ed9920898c2690734256461e6f9e7c5e743a5d8b | |
parent | d3f04c793e19a87cfde4cd0b8a3a299facbbcc24 [diff] |
Fixed bash error caused by lack of double quotes
diff --git a/nvm.sh b/nvm.sh index e4ce9f8..719bf55 100755 --- a/nvm.sh +++ b/nvm.sh
@@ -389,7 +389,7 @@ if [ -z $VERSION ]; then VERSION=`nvm_version $2` fi - if [ ! -d $NVM_DIR/$VERSION ]; then + if [ ! -d "$NVM_DIR/$VERSION" ]; then echo "$VERSION version is not installed yet" return 1 fi