diff options
| author | Jack Nagel | 2013-07-21 16:41:51 -0500 |
|---|---|---|
| committer | Jack Nagel | 2013-07-21 16:41:51 -0500 |
| commit | 361d224e99bd854fa279d1eb638c512ef1e8ea7d (patch) | |
| tree | 1e89ada11267497061822d41bc47ab660d8909a2 /Library | |
| parent | a8f7f4caff42f7984e9d616b88e19d5330fff3fb (diff) | |
| download | homebrew-361d224e99bd854fa279d1eb638c512ef1e8ea7d.tar.bz2 | |
Existence of directory is implied by existence of executables
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/macos.rb | 3 |
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 |
