From c511d7d2f43369773940dbb8fb8fbe8ed2153127 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Fri, 18 Oct 2013 12:56:51 -0500 Subject: Add OS.mac? and OS.linux? --- Library/Homebrew/os/mac/xcode.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library/Homebrew/os/mac/xcode.rb') diff --git a/Library/Homebrew/os/mac/xcode.rb b/Library/Homebrew/os/mac/xcode.rb index 1279be1d1..0472f73ab 100644 --- a/Library/Homebrew/os/mac/xcode.rb +++ b/Library/Homebrew/os/mac/xcode.rb @@ -84,7 +84,7 @@ module MacOS::Xcode extend self # This is a separate function as you can't cache the value out of a block # if return is used in the middle, which we do many times in here. - return "0" unless MACOS + return "0" unless OS.mac? # this shortcut makes version work for people who don't realise you # need to install the CLI tools -- cgit v1.2.3