aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/update.sh
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/cmd/update.sh')
-rw-r--r--Library/Homebrew/cmd/update.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/update.sh b/Library/Homebrew/cmd/update.sh
index 9feb0a7b9..3621cfde8 100644
--- a/Library/Homebrew/cmd/update.sh
+++ b/Library/Homebrew/cmd/update.sh
@@ -359,6 +359,8 @@ EOS
# only allow one instance of brew update
lock update
+ # prevent recursive updates
+ export HOMEBREW_NO_AUTO_UPDATE="1"
git_init_if_necessary
# rename Taps directories