diff options
Diffstat (limited to 'Library/Homebrew/cmd/reinstall.rb')
| -rw-r--r-- | Library/Homebrew/cmd/reinstall.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/cmd/reinstall.rb b/Library/Homebrew/cmd/reinstall.rb index 393662b0c..24bffc5c5 100644 --- a/Library/Homebrew/cmd/reinstall.rb +++ b/Library/Homebrew/cmd/reinstall.rb @@ -13,8 +13,8 @@ module Homebrew extend self notice += " with #{options * ", "}" unless options.empty? oh1 notice - if (opt_link = f.opt_prefix).exist? - keg = Keg.new(opt_link.realpath) + if f.opt_prefix.directory? + keg = Keg.new(f.opt_prefix.resolved_path) backup keg end |
