aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Homebrew/tap.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/tap.rb b/Library/Homebrew/tap.rb
index 24b7a95ed..1acbfca4e 100644
--- a/Library/Homebrew/tap.rb
+++ b/Library/Homebrew/tap.rb
@@ -196,7 +196,7 @@ class Tap
return unless (path/"man").exist?
(path/"man").find do |src|
next if src.directory?
- dst = HOMEBREW_PREFIX/src.relative_path_from(path)
+ dst = HOMEBREW_PREFIX/"share"/src.relative_path_from(path)
dst.delete if dst.symlink? && src == dst.resolved_path
dst.parent.rmdir_if_possible
end