Fix keg exception pretty output

This commit is contained in:
Max Howell 2011-08-24 11:28:55 +01:00
parent 6ac0a28523
commit 1f95b07ba5

View File

@ -2,7 +2,12 @@ module Homebrew extend self
def link
ARGV.kegs.each do |keg|
print "Linking #{keg}... "
puts "#{keg.link} symlinks created"
begin
puts "#{keg.link} symlinks created"
rescue Exception
puts
raise
end
end
end
end