aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2013-07-21 16:41:51 -0500
committerJack Nagel2013-07-21 16:41:51 -0500
commit3807bd220a89cb53b6f48c66c4bb17cb9590c96e (patch)
treede47549f58f3d82f732b9cd6a9336061bab0c746 /Library
parent4adf8f047ab30c55605e2276ab9c102aec0e71e5 (diff)
downloadbrew-3807bd220a89cb53b6f48c66c4bb17cb9590c96e.tar.bz2
Existence of directory is implied by existence of executables
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/macos.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/Library/Homebrew/macos.rb b/Library/Homebrew/macos.rb
index 4a941d613..1359d2b48 100644
--- a/Library/Homebrew/macos.rb
+++ b/Library/Homebrew/macos.rb
@@ -57,8 +57,7 @@ module MacOS extend self
end
def tools_in_prefix?(prefix)
- File.directory?(prefix) &&
- %w{cc make}.all? { |tool| File.executable? "#{prefix}/usr/bin/#{tool}" }
+ %w{cc make}.all? { |tool| File.executable? "#{prefix}/usr/bin/#{tool}" }
end
def xctoolchain_path