Skip to content
Snippets Groups Projects
Commit 950440dd authored by Adam Vandenberg's avatar Adam Vandenberg
Browse files

No really, fix llvm_build_version and xcode_prefix

parent 3ad0e634
No related branches found
No related tags found
No related merge requests found
......@@ -264,7 +264,7 @@ module MacOS extend self
elsif File.directory? '/Developer'
# we do this to support cowboys who insist on installing
# only a subset of Xcode
'/Developer'
Pathname.new '/Developer'
else
nil
end
......@@ -273,7 +273,7 @@ module MacOS extend self
def llvm_build_version
unless xcode_prefix.to_s.empty?
llvm_gcc_path = xcode_prefix.to_s + "usr/bin/llvm-gcc"
llvm_gcc_path = xcode_prefix/"usr/bin/llvm-gcc"
# for Xcode 3 on OS X 10.5 this will not exist
if llvm_gcc_path.file?
`#{llvm_gcc_path} -v 2>&1` =~ /LLVM build (\d{4,})/
......
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