aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test
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/Homebrew/test
parent81b0f33b7a7ecb96e9df2606dd5ac1fad21847cf (diff)
downloadhomebrew-1d0a7c66a5afd102a935d6dbafceb6b9768068ac.tar.bz2
Add OS.mac? and OS.linux?
Diffstat (limited to 'Library/Homebrew/test')
-rw-r--r--Library/Homebrew/test/testing_env.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/Library/Homebrew/test/testing_env.rb b/Library/Homebrew/test/testing_env.rb
index 9bc5d871f..a7b25aa20 100644
--- a/Library/Homebrew/test/testing_env.rb
+++ b/Library/Homebrew/test/testing_env.rb
@@ -29,7 +29,6 @@ HOMEBREW_VERSION = '0.9-test'
RUBY_BIN = Pathname.new(RbConfig::CONFIG['bindir'])
RUBY_PATH = RUBY_BIN + RbConfig::CONFIG['ruby_install_name'] + RbConfig::CONFIG['EXEEXT']
-MACOS = true
MACOS_FULL_VERSION = `/usr/bin/sw_vers -productVersion`.chomp
MACOS_VERSION = ENV.fetch('MACOS_VERSION') { MACOS_FULL_VERSION[/10\.\d+/] }.to_f