parent
ad8f50ec6d
commit
1b6a200809
@ -5,6 +5,8 @@
|
|||||||
#: If `--merge` is specified then `git merge` is used to include updates
|
#: If `--merge` is specified then `git merge` is used to include updates
|
||||||
#: (rather than `git rebase`).
|
#: (rather than `git rebase`).
|
||||||
|
|
||||||
|
source "$HOMEBREW_LIBRARY/Homebrew/utils/lock.sh"
|
||||||
|
|
||||||
brew() {
|
brew() {
|
||||||
"$HOMEBREW_BREW_FILE" "$@"
|
"$HOMEBREW_BREW_FILE" "$@"
|
||||||
}
|
}
|
||||||
@ -307,6 +309,9 @@ EOS
|
|||||||
# ensure GIT_CONFIG is unset as we need to operate on .git/config
|
# ensure GIT_CONFIG is unset as we need to operate on .git/config
|
||||||
unset GIT_CONFIG
|
unset GIT_CONFIG
|
||||||
|
|
||||||
|
# only allow one instance of brew update
|
||||||
|
lock update
|
||||||
|
|
||||||
chdir "$HOMEBREW_REPOSITORY"
|
chdir "$HOMEBREW_REPOSITORY"
|
||||||
git_init_if_necessary
|
git_init_if_necessary
|
||||||
# rename Taps directories
|
# rename Taps directories
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user