This commit is contained in:
Jordan Harband
2014-09-03 00:08:53 -07:00
parent a00a3a7429
commit 9d96e4a6bf
4 changed files with 7 additions and 7 deletions

View File

@@ -44,12 +44,12 @@ install_nvm_from_git() {
mkdir -p "$NVM_DIR"
git clone "$NVM_SOURCE" "$NVM_DIR"
fi
cd $NVM_DIR && git checkout v0.14.0 && git branch -D master || true
cd $NVM_DIR && git checkout v0.15.0 && git branch -D master || true
}
install_nvm_as_script() {
if [ -z "$NVM_SOURCE" ]; then
NVM_SOURCE="https://raw.githubusercontent.com/creationix/nvm/v0.14.0/nvm.sh"
NVM_SOURCE="https://raw.githubusercontent.com/creationix/nvm/v0.15.0/nvm.sh"
fi
# Downloading to $NVM_DIR