From b4a9c14d4ef61b4c0c6670f1e5ed633a6cb03a00 Mon Sep 17 00:00:00 2001 From: Matthew Alexander Date: Thu, 24 Oct 2013 18:59:37 -0700 Subject: [PATCH] Fixed bash error caused by lack of double quotes --- nvm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nvm.sh b/nvm.sh index e4ce9f8..719bf55 100755 --- a/nvm.sh +++ b/nvm.sh @@ -389,7 +389,7 @@ nvm() { 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