make install.sh work with all git configurations

This commit is contained in:
cpuy 2014-07-16 17:55:46 +02:00
parent 4895aebf0a
commit e8960a72a6

View File

@ -45,7 +45,7 @@ install_nvm_from_git() {
mkdir -p "$NVM_DIR" mkdir -p "$NVM_DIR"
git clone "$NVM_SOURCE" "$NVM_DIR" git clone "$NVM_SOURCE" "$NVM_DIR"
fi fi
git checkout v0.11.0 git checkout -b v0.11.0 tags/v0.11.0
} }
install_nvm_as_script() { install_nvm_as_script() {