mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-05-17 09:31:51 +00:00
make install.sh work with all git configurations
This commit is contained in:
parent
4895aebf0a
commit
e8960a72a6
@ -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() {
|
||||||
|
Loading…
Reference in New Issue
Block a user