From 3f9cce0a03e967d2e7bcb7cd16bbc898c1a35708 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Sun, 18 Sep 2016 19:57:19 +0100 Subject: Use new "macOS" naming where appropriate. Not quite a mass replacement as I've used OS X and Mac OS X where describing specific older versions and added compatibility methods for things in the DSL. --- Library/Homebrew/os/mac.rb | 2 +- Library/Homebrew/os/mac/xcode.rb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'Library/Homebrew/os') diff --git a/Library/Homebrew/os/mac.rb b/Library/Homebrew/os/mac.rb index 803d8cce3..c6fb9b721 100644 --- a/Library/Homebrew/os/mac.rb +++ b/Library/Homebrew/os/mac.rb @@ -24,7 +24,7 @@ module OS # This can be compared to numerics, strings, or symbols # using the standard Ruby Comparable methods. def full_version - @full_version ||= Version.new(ENV["HOMEBREW_OSX_VERSION"].chomp) + @full_version ||= Version.new(ENV["HOMEBREW_MACOS_VERSION"].chomp) end def prerelease? diff --git a/Library/Homebrew/os/mac/xcode.rb b/Library/Homebrew/os/mac/xcode.rb index c03b91f21..f487a6997 100644 --- a/Library/Homebrew/os/mac/xcode.rb +++ b/Library/Homebrew/os/mac/xcode.rb @@ -18,11 +18,11 @@ module OS when "10.11" then "7.3.1" when "10.12" then "8.0" else - # Default to newest known version of Xcode for unreleased OSX versions. + # Default to newest known version of Xcode for unreleased macOS versions. if OS::Mac.prerelease? "8.0" else - raise "OS X '#{MacOS.version}' is invalid" + raise "macOS '#{MacOS.version}' is invalid" end end end -- cgit v1.2.3