Skip to content
Myr

install.sh: Ensure that the `--quiet` option is available before trying to use it.

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

Fixes #738, #657.

authored by Jordan Harband · committed by Jordan Harband · parent 64c88ce · Browse files · 1 file+6 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+6 added−1 removed

  • other:+6 added−1 removed

1 file+6 added−1 removed

modified:install.sh+6 added-1 removed
69 unmodified lines
70 command git clone "$(nvm_source git)" "$NVM_DIR"71 fi72 cd "$NVM_DIR" && command git checkout --quiet $(nvm_latest_version)73 if [ ! -z "$(cd "$NVM_DIR" && git show-ref refs/heads/master)" ]; then74 if git branch --quiet 2>/dev/null; then74 cd "$NVM_DIR" && command git branch --quiet -D master >/dev/null 2>&175 cd "$NVM_DIR" && command git branch --quiet -D master >/dev/null 2>&176 else77 echo >&2 "Your version of git is out of date. Please update it!"78 cd "$NVM_DIR" && command git branch -D master >/dev/null 2>&179 fi80 fi81 return82}83
160 unmodified lines