From cf1110ecea4feec3fb892a881389c6ca9b867217 Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Tue, 23 Sep 2014 23:46:23 -0700 Subject: [PATCH] Quote $NVM_DIR in commands --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 99b5b37..efacc4a 100755 --- a/install.sh +++ b/install.sh @@ -44,7 +44,7 @@ install_nvm_from_git() { mkdir -p "$NVM_DIR" git clone "$NVM_SOURCE" "$NVM_DIR" fi - cd $NVM_DIR && git checkout v0.16.1 && git branch -D master || true + cd "$NVM_DIR" && git checkout v0.16.1 && git branch -D master || true } install_nvm_as_script() {