Skip to content
Snippets Groups Projects
Commit a09799f2 authored by Mike McQuaid's avatar Mike McQuaid
Browse files

os/mac: fall back to old environment.

Can't see how this could ever happen but let's safe-guard it just in
case (as ilovezfs saw it).
parent 6e1312d4
No related branches found
No related tags found
No related merge requests found
......@@ -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_MACOS_VERSION"].chomp)
@full_version ||= Version.new((ENV["HOMEBREW_MACOS_VERSION"] || ENV["HOMEBREW_OSX_VERSION"]).chomp)
end
def prerelease?
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment