Skip to content
Snippets Groups Projects
Commit 3807bd22 authored by Jack Nagel's avatar Jack Nagel
Browse files

Existence of directory is implied by existence of executables

parent 4adf8f04
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment