aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorAdam Vandenberg2009-08-03 09:59:14 -0700
committerMax Howell2009-08-10 16:15:24 +0100
commitcae0e78e6065b95ce2fc47d0d2cdd500945ffe6d (patch)
treef5ddbd5eb7094dbfd517704619af3c18a5c1948a /bin
parentfea89daae6e7b2d6bcae4b89becc819a1df4aac9 (diff)
downloadbrew-cae0e78e6065b95ce2fc47d0d2cdd500945ffe6d.tar.bz2
Pull USERAGENT used by curl into constant
Diffstat (limited to 'bin')
-rwxr-xr-xbin/brew1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/brew b/bin/brew
index 461fe307b..6af4460ac 100755
--- a/bin/brew
+++ b/bin/brew
@@ -4,6 +4,7 @@ require 'env'
require 'find'
PRISTINE_ARGV=ARGV.dup
+HOMEBREW_USER_AGENT="Homebrew #{HOMEBREW_VERSION} (Ruby #{VERSION}; Mac OS X 10.5 Leopard)"
# often causes Ruby to throw exception ffs
Dir.chdir '/' unless File.directory? ENV['PWD']