From 7b744d77652029f2ff86761b789d973f425d0816 Mon Sep 17 00:00:00 2001 From: Dominyk Tiller Date: Tue, 13 Jan 2015 14:46:59 +0000 Subject: [PATCH] node: fix manpage linkage MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I goofed here on the manpage linkage and location. This fixes that mistake. Given it’s post-install, shouldn’t be any need to regenerate bottles or such. Closes Homebrew/homebrew#35824. Signed-off-by: Mike McQuaid --- Formula/node.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/node.rb b/Formula/node.rb index de0d4a8a80..c9ce4c8262 100644 --- a/Formula/node.rb +++ b/Formula/node.rb @@ -98,7 +98,7 @@ class Node < Formula # And then a step to the right, with your hand on rm_f. ["man1", "man3", "man5", "man7"].each do |man| rm_f Dir[HOMEBREW_PREFIX/"share/man/#{man}/{npm.,npm-,npmrc.}*"] - Dir[share/"man/#{man}/npm*"].each {|f| ln_sf f, HOMEBREW_PREFIX/"share/man/#{man}" } + Dir[libexec/"npm/share/man/#{man}/npm*"].each {|f| ln_sf f, HOMEBREW_PREFIX/"share/man/#{man}" } end npm_root = node_modules/"npm"