diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/keg.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/keg.rb b/Library/Homebrew/keg.rb index 1d0d14e7e..3ec28136c 100644 --- a/Library/Homebrew/keg.rb +++ b/Library/Homebrew/keg.rb @@ -218,7 +218,7 @@ class Keg < Pathname # it, and the exception that is generated will message to the user about # the situation if dst.symlink? and dst.directory? - src = (dst.parent+dst.readlink).cleanpath + src = dst.resolved_path keg = Keg.for(src) dst.unlink unless mode.dry_run keg.link_dir(src, mode) { :mkpath } |
