Existence of directory is implied by existence of executables
This commit is contained in:
parent
4adf8f047a
commit
3807bd220a
@ -57,7 +57,6 @@ module MacOS extend self
|
|||||||
end
|
end
|
||||||
|
|
||||||
def tools_in_prefix?(prefix)
|
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
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user