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

Eliminate nested conditional

parent 9f2f5c81
No related branches found
No related tags found
No related merge requests found
......@@ -50,13 +50,9 @@ module MacOS::Xcode extend self
elsif File.executable? "#{V4_BUNDLE_PATH}/Contents/Developer/usr/bin/make"
# fallback for broken Xcode 4.3 installs
Pathname.new("#{V4_BUNDLE_PATH}/Contents/Developer")
else
path = bundle_path
unless path.nil?
path += "Contents/Developer"
path if File.executable? "#{path}/usr/bin/make"
end
elsif (path = bundle_path)
path += "Contents/Developer"
path if File.executable? "#{path}/usr/bin/make"
end
end
end
......
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