aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/update.sh
diff options
context:
space:
mode:
authorMike McQuaid2016-09-18 19:59:56 +0100
committerMike McQuaid2016-09-21 09:03:52 +0100
commite8ebcb834bcd54aa555b52cc6a06bf05e8b5ac1a (patch)
treea8c1205e5d85c6df6c90e55d025cf3478d8699d8 /Library/Homebrew/cmd/update.sh
parentb2c7d6d83d0eecba7057873b7cb3511d09183825 (diff)
downloadbrew-e8ebcb834bcd54aa555b52cc6a06bf05e8b5ac1a.tar.bz2
update.sh: allow forcing tag update.
To test the tag update functionality allow setting `HOMEBREW_UPDATE_TO_TAG`.
Diffstat (limited to 'Library/Homebrew/cmd/update.sh')
-rw-r--r--Library/Homebrew/cmd/update.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/update.sh b/Library/Homebrew/cmd/update.sh
index 570a4c36b..eb15e1029 100644
--- a/Library/Homebrew/cmd/update.sh
+++ b/Library/Homebrew/cmd/update.sh
@@ -348,7 +348,7 @@ EOS
set -x
fi
- if [[ -z "$HOMEBREW_UPDATE_CLEANUP" ]]
+ if [[ -z "$HOMEBREW_UPDATE_CLEANUP" && -z "$HOMEBREW_UPDATE_TO_TAG" ]]
then
if [[ -n "$HOMEBREW_DEVELOPER" || -n "$HOMEBREW_DEV_CMD_RUN" ]]
then