Fix for issue #649. 'git branch' unknown '--quiet' option was removed.

This commit is contained in:
Alexander Beshchuk 2015-02-12 19:37:22 +02:00
parent 3d6b7976e7
commit 2ad9b34a2e
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ install_nvm_from_git() {
mkdir -p "$NVM_DIR" mkdir -p "$NVM_DIR"
command git clone "$(nvm_source git)" "$NVM_DIR" command git clone "$(nvm_source git)" "$NVM_DIR"
fi fi
cd "$NVM_DIR" && command git checkout --quiet $(nvm_latest_version) && command git branch --quiet -D master >/dev/null 2>&1 cd "$NVM_DIR" && command git checkout --quiet $(nvm_latest_version) && command git branch -D master >/dev/null 2>&1
return return
} }