aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2013-04-01 11:53:24 -0500
committerJack Nagel2013-04-02 13:17:23 -0500
commit9f1e6af879542224622f27ba1ae4870ae474ac6e (patch)
tree5c1e3211efedfbd62fadeb11ef0b83758f75c956 /Library
parentd2ae810b768a276d13f87c770a6492662141d48e (diff)
downloadbrew-9f1e6af879542224622f27ba1ae4870ae474ac6e.tar.bz2
Use satisfy syntax for CLTDependency
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/requirements.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/Library/Homebrew/requirements.rb b/Library/Homebrew/requirements.rb
index 7b70508f6..1f58e6b0a 100644
--- a/Library/Homebrew/requirements.rb
+++ b/Library/Homebrew/requirements.rb
@@ -325,9 +325,7 @@ class CLTDependency < Requirement
fatal true
build true
- def satisfied?
- MacOS::CLT.installed?
- end
+ satisfy(:build_env => false) { MacOS::CLT.installed? }
def message; <<-EOS.undent
The Command Line Tools for Xcode are required to compile this software.