Skip to content
Snippets Groups Projects
Commit bf07b966 authored by Max Howell's avatar Max Howell
Browse files

Puts URL for failed build line

parent fef28790
No related branches found
No related tags found
No related merge requests found
......@@ -307,7 +307,8 @@ rescue Interrupt => e
puts # seemingly a newline is typical
exit 130
rescue BuildError => e
puts e.backtrace[1]
e.backtrace[1] =~ %r{Library/Formula/(.+)\.rb:(\d+)}
puts "http://github.com/mxcl/homebrew/blob/master/Library/Formula/#{$1}.rb#L#{$2}"
ohai "Environment"
dump_config
puts "Exit status: #{e.status.exitstatus}"
......
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