diff options
| author | Mike McQuaid | 2013-09-24 23:07:01 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2013-09-24 23:07:01 +0100 |
| commit | a88da279fbc96f925620ac6d45ec7ab1d7d4a1fb (patch) | |
| tree | 6511df5c6f62dcd4faac7c2d1c9054274055a14e /Library/Homebrew/cmd | |
| parent | e82636d17e44b615cc16d497ea378b2d1417df84 (diff) | |
| download | homebrew-a88da279fbc96f925620ac6d45ec7ab1d7d4a1fb.tar.bz2 | |
update: handle realpath exception.
Diffstat (limited to 'Library/Homebrew/cmd')
| -rw-r--r-- | Library/Homebrew/cmd/update.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/update.rb b/Library/Homebrew/cmd/update.rb index b1cb5d967..682c5522a 100644 --- a/Library/Homebrew/cmd/update.rb +++ b/Library/Homebrew/cmd/update.rb @@ -20,7 +20,7 @@ module Homebrew extend self tapped_formulae = Dir['Library/Formula/*'].map do |formula| path = Pathname.new formula next unless path.symlink? - Pathname.new(path.realpath.to_s.gsub(/.*Taps\//, '')) + Pathname.new(path.realpath.to_s.gsub(/.*Taps\//, '')) rescue nil end tapped_formulae.compact! unlink_tap_formula(tapped_formulae) |
