fix build log output

Closes Homebrew/homebrew#23669.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
Stefan 2013-10-27 17:17:09 +01:00 committed by Adam Vandenberg
parent ea2dd613a4
commit 0a1df377fb

View File

@ -198,8 +198,8 @@ class BuildError < Homebrew::InstallationError
puts
onoe "#{formula.name} did not build"
unless (logs = Dir["#{ENV['HOME']}/Library/Logs/Homebrew/#{formula}/*"]).empty?
print "Logs: "
puts logs.map{|fn| " #{fn}"}.join("\n")
puts "Logs:"
puts logs.map{|fn| " #{fn}"}.join("\n")
end
end
puts