diff options
| author | Max Howell | 2012-03-06 13:02:10 +0000 |
|---|---|---|
| committer | Max Howell | 2012-03-16 21:06:16 +0000 |
| commit | 765ae9618050e415c039edabce02671581c1ffb1 (patch) | |
| tree | ae9a679dab52748ffc5e55088fbe1fc9f4380b4e /Library/Homebrew/cmd | |
| parent | 921f0e567420b841be535b1e9acf20d8320cb2ea (diff) | |
| download | brew-765ae9618050e415c039edabce02671581c1ffb1.tar.bz2 | |
Leave kegs keg-only if linking step fails
Rationale: well, it should always have been like this!
However now we are opening ourselves up to more-mixed installations of formula not maintained by us, it's important that
Diffstat (limited to 'Library/Homebrew/cmd')
| -rw-r--r-- | Library/Homebrew/cmd/link.rb | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/Library/Homebrew/cmd/link.rb b/Library/Homebrew/cmd/link.rb index df3445aa5..d882ee7ec 100644 --- a/Library/Homebrew/cmd/link.rb +++ b/Library/Homebrew/cmd/link.rb @@ -11,12 +11,7 @@ module Homebrew extend self ARGV.kegs.each do |keg| print "Linking #{keg}... " puts if ARGV.verbose? - begin - puts "#{keg.link} symlinks created" - rescue Exception - puts - raise - end + puts "#{keg.link} symlinks created" end end end |
