aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2013-08-26 22:11:29 -0500
committerJack Nagel2013-08-26 22:11:29 -0500
commit9977ff8c604b2e2924be06ca3ba4ca6cd67a9d33 (patch)
treee6136092b69385bdaabd387c5c81957c8dcf97cf /Library
parente252aac989ed610dd4f48902fabf6c1ac8c47de3 (diff)
downloadhomebrew-9977ff8c604b2e2924be06ca3ba4ca6cd67a9d33.tar.bz2
Simplify condition
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/extend/ENV/std.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/Library/Homebrew/extend/ENV/std.rb b/Library/Homebrew/extend/ENV/std.rb
index c76090269..f2cd17115 100644
--- a/Library/Homebrew/extend/ENV/std.rb
+++ b/Library/Homebrew/extend/ENV/std.rb
@@ -71,8 +71,7 @@ module Stdenv
# Add lib and include etc. from the current macosxsdk to compiler flags:
macosxsdk MacOS.version
- # For Xcode 4.3 (*without* the "Command Line Tools for Xcode") compiler and tools inside of Xcode:
- if not MacOS::CLT.installed? and MacOS::Xcode.installed? and MacOS::Xcode.version >= "4.3"
+ if MacOS::Xcode.without_clt?
# Some tools (clang, etc.) are in the xctoolchain dir of Xcode
append_path 'PATH', "#{MacOS.xctoolchain_path}/usr/bin" if MacOS.xctoolchain_path
# Others are now at /Applications/Xcode.app/Contents/Developer/usr/bin