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
commita82080bd2b85bbdc4072373605c94017f43358f8 (patch)
treea6deac11bb8d08e0128214dcc998a2faa25a5122 /Library
parent987b4946083a844a981a8613efc86dd8556ccc42 (diff)
downloadhomebrew-a82080bd2b85bbdc4072373605c94017f43358f8.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.