From a4e86bb3264a17e0d5227e058d8bc4ea17f3dfbb Mon Sep 17 00:00:00 2001 From: Max Howell Date: Thu, 5 Nov 2009 21:37:51 +0000 Subject: Move BuildError and ExceutionError to global.h More sensible, and fixes brew --- Library/Homebrew/global.rb | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'Library/Homebrew/global.rb') diff --git a/Library/Homebrew/global.rb b/Library/Homebrew/global.rb index fd2916b21..946ce6669 100644 --- a/Library/Homebrew/global.rb +++ b/Library/Homebrew/global.rb @@ -54,3 +54,13 @@ MACOS_FULL_VERSION = `/usr/bin/sw_vers -productVersion`.chomp MACOS_VERSION = /(10\.\d+)(\.\d+)?/.match(MACOS_FULL_VERSION).captures.first.to_f HOMEBREW_USER_AGENT = "Homebrew #{HOMEBREW_VERSION} (Ruby #{RUBY_VERSION}-#{RUBY_PATCHLEVEL}; Mac OS X #{MACOS_FULL_VERSION})" + + +class ExecutionError