diff options
| author | Mike McQuaid | 2016-03-10 13:41:02 +0000 |
|---|---|---|
| committer | Xu Cheng | 2016-03-11 13:32:54 +0800 |
| commit | 2c3a7e8c75d90091c06a82e315ca22dbd918c5be (patch) | |
| tree | fb0dc550f3c0c5d1e16e68fe234e48dcec4059bc /Library/brew.sh | |
| parent | c8debd8fa46f8d7bf8ac329b4a53301b5271b895 (diff) | |
| download | brew-2c3a7e8c75d90091c06a82e315ca22dbd918c5be.tar.bz2 | |
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 <mike@mikemcquaid.com>
Diffstat (limited to 'Library/brew.sh')
| -rw-r--r-- | Library/brew.sh | 3 |
1 files changed, 3 insertions, 0 deletions
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 |
