Skip to content
Myr

Merge pull request #686 from jarrettchisholm/master

Before adoption: this commit came in with the history the project adopted, so no landing records it.

- fixed return code of 1 when updating from git

authored by Jordan Harband · committed by Jordan Harband · parents 8ae7a37, c16919b · Browse files · 1 file+4 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+4 added−1 removed

  • other:+4 added−1 removed

1 file+4 added−1 removed

modified:install.sh+4 added-1 removed
67 unmodified lines
68 printf "\r=> "69 mkdir -p "$NVM_DIR"70 command git clone "$(nvm_source git)" "$NVM_DIR"71 fi72 cd "$NVM_DIR" && command git checkout --quiet $(nvm_latest_version) && command git branch --quiet -D master >/dev/null 2>&172 cd "$NVM_DIR" && command git checkout --quiet $(nvm_latest_version)73 if [ ! -z "$(cd "$NVM_DIR" && git show-ref refs/heads/master)" ]; then74 cd "$NVM_DIR" && command git branch --quiet -D master >/dev/null 2>&175 fi76 return77}7879install_nvm_as_script() {
159 unmodified lines