Skip to content
Snippets Groups Projects
Commit 0fb03b55 authored by Max Howell's avatar Max Howell
Browse files

Error out if the host OS X is too old

parent 7e723c10
No related branches found
No related tags found
No related merge requests found
......@@ -21,6 +21,11 @@ This is not currently supported. Voice your support for this feature at:
troba
end
if `sw_vers -productVersion` =~ /10\.(\d)\.(\d+)/ and $1.to_i < 5
onoe "Homebrew requires Leopard or higher"
abort "But thanks for your interest anyway!"
end
# Pathname often throws if CWD doesn't exist
Dir.chdir '/' unless File.directory? ENV['PWD']
......
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