From 361d224e99bd854fa279d1eb638c512ef1e8ea7d Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sun, 21 Jul 2013 16:41:51 -0500 Subject: Existence of directory is implied by existence of executables --- Library/Homebrew/macos.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Library') 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 -- cgit v1.2.3