mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
Fix keg exception pretty output
This commit is contained in:
parent
6ac0a28523
commit
1f95b07ba5
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user