diff options
| author | Xu Cheng | 2015-12-19 20:51:00 +0800 |
|---|---|---|
| committer | Xu Cheng | 2015-12-19 22:05:30 +0800 |
| commit | ef7a5cfa3acd85efc55b6aff97f55ddecb238b8b (patch) | |
| tree | 101ced7b391121679ee78b11189629fbd81c7a98 /Library/Homebrew | |
| parent | 7efae4635be1eec5dad066d2c52616a48f890700 (diff) | |
| download | brew-ef7a5cfa3acd85efc55b6aff97f55ddecb238b8b.tar.bz2 | |
Tap#unlink_manpages: fix symlink path
Diffstat (limited to 'Library/Homebrew')
| -rw-r--r-- | Library/Homebrew/tap.rb | 2 |
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 |
