From cae0e78e6065b95ce2fc47d0d2cdd500945ffe6d Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Mon, 3 Aug 2009 09:59:14 -0700 Subject: Pull USERAGENT used by curl into constant --- bin/brew | 1 + 1 file changed, 1 insertion(+) (limited to 'bin') 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'] -- cgit v1.2.3