From 2c3a7e8c75d90091c06a82e315ca22dbd918c5be Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Thu, 10 Mar 2016 13:41:02 +0000 Subject: Fix `brew update` user agent. This needs to be `Homebrew $HOMEBREW_VERSION` so we can be adequately filtered. Closes Homebrew/homebrew#49961. Signed-off-by: Mike McQuaid --- Library/brew.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Library/brew.sh') diff --git a/Library/brew.sh b/Library/brew.sh index f840660b6..157f52ace 100644 --- a/Library/brew.sh +++ b/Library/brew.sh @@ -1,3 +1,5 @@ +HOMEBREW_VERSION="0.9.5" + odie() { if [[ -t 2 ]] # check whether stderr is a tty. then @@ -70,6 +72,7 @@ then fi fi +export HOMEBREW_VERSION export HOMEBREW_BREW_FILE export HOMEBREW_RUBY_PATH export HOMEBREW_PREFIX -- cgit v1.2.3