Merge pull request #3592 from sjackman/development-tools-installed
DevelopmentTools.installed?: Use locate
This commit is contained in:
commit
75d032129a
@ -16,7 +16,7 @@ class DevelopmentTools
|
|||||||
end
|
end
|
||||||
|
|
||||||
def installed?
|
def installed?
|
||||||
which("clang") || which("gcc")
|
locate("clang") || locate("gcc")
|
||||||
end
|
end
|
||||||
|
|
||||||
def installation_instructions
|
def installation_instructions
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user