aboutsummaryrefslogtreecommitdiffstats
path: root/Library/brew.rb
diff options
context:
space:
mode:
authorJack Nagel2013-10-18 12:56:51 -0500
committerJack Nagel2013-10-18 12:56:51 -0500
commit1d0a7c66a5afd102a935d6dbafceb6b9768068ac (patch)
treebdb28e7d325c4d04a18c2dc59b568732749c9635 /Library/brew.rb
parent81b0f33b7a7ecb96e9df2606dd5ac1fad21847cf (diff)
downloadhomebrew-1d0a7c66a5afd102a935d6dbafceb6b9768068ac.tar.bz2
Add OS.mac? and OS.linux?
Diffstat (limited to 'Library/brew.rb')
-rwxr-xr-xLibrary/brew.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/brew.rb b/Library/brew.rb
index 1ec1ad4c0..b72d61494 100755
--- a/Library/brew.rb
+++ b/Library/brew.rb
@@ -35,7 +35,7 @@ case HOMEBREW_PREFIX.to_s when '/', '/usr'
# it may work, but I only see pain this route and don't want to support it
abort "Cowardly refusing to continue at this prefix: #{HOMEBREW_PREFIX}"
end
-if MACOS and MACOS_VERSION < 10.5
+if OS.mac? and MacOS.version < 10.5
abort <<-EOABORT.undent
Homebrew requires Leopard or higher. For Tiger support, see:
https://github.com/mistydemeo/tigerbrew