aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/global.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/global.rb')
-rw-r--r--Library/Homebrew/global.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/Library/Homebrew/global.rb b/Library/Homebrew/global.rb
index 36e5cf992..dc809021d 100644
--- a/Library/Homebrew/global.rb
+++ b/Library/Homebrew/global.rb
@@ -5,6 +5,7 @@ require 'extend/ARGV'
require 'extend/string'
require 'extend/symbol'
require 'extend/enumerable'
+require 'os'
require 'utils'
require 'exceptions'
require 'set'
@@ -72,11 +73,9 @@ if RUBY_PLATFORM =~ /darwin/
MACOS_FULL_VERSION = `/usr/bin/sw_vers -productVersion`.chomp
MACOS_VERSION = MACOS_FULL_VERSION[/10\.\d+/].to_f
OS_VERSION = "Mac OS X #{MACOS_FULL_VERSION}"
- MACOS = true
else
MACOS_FULL_VERSION = MACOS_VERSION = 0
OS_VERSION = RUBY_PLATFORM
- MACOS = false
end
HOMEBREW_GITHUB_API_TOKEN = ENV["HOMEBREW_GITHUB_API_TOKEN"]