Skip to content

Commit

Permalink
Allow robotlocomotion/director to change default branch name to main (R…
Browse files Browse the repository at this point in the history
  • Loading branch information
jamiesnape authored Jun 16, 2021
1 parent 56c4c6e commit cafccd3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions setup/mac/binary_distribution/install_prereqs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ export HOMEBREW_NO_INSTALL_CLEANUP=1
binary_distribution_called_update=0

if [[ "${with_update}" -eq 1 ]]; then
# TODO(jamiesnape): Remove the below brew tap commands on or after 2021-09-01.
brew tap robotlocomotion/director
brew tap --repair robotlocomotion/director

# Note that brew update uses git, so HOMEBREW_CURL_RETRIES does not take
# effect.
brew update || (sleep 30; brew update)
Expand Down
4 changes: 4 additions & 0 deletions setup/mac/source_distribution/install_prereqs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ if ! command -v brew &>/dev/null; then
fi

if [[ "${with_update}" -eq 1 && "${binary_distribution_called_update:-0}" -ne 1 ]]; then
# TODO(jamiesnape): Remove the below brew tap commands on or after 2021-09-01.
brew tap robotlocomotion/director
brew tap --repair robotlocomotion/director

brew update || (sleep 30; brew update)
fi

Expand Down

0 comments on commit cafccd3

Please sign in to comment.