node@0.12: copy rather than symlink manpages
This commit is contained in:
parent
cc9772920c
commit
2fd24eb178
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@ class NodeAT012 < Formula
|
|||
# Dirs must exist first: https://github.com/Homebrew/homebrew/issues/35969
|
||||
mkdir_p HOMEBREW_PREFIX/"share/man/#{man}"
|
||||
rm_f Dir[HOMEBREW_PREFIX/"share/man/#{man}/{npm.,npm-,npmrc.,package.json.}*"]
|
||||
ln_sf Dir[libexec/"npm/lib/node_modules/npm/man/#{man}/{npm,package.json}*"], HOMEBREW_PREFIX/"share/man/#{man}"
|
||||
cp Dir[libexec/"npm/lib/node_modules/npm/man/#{man}/{npm,package.json}*"], HOMEBREW_PREFIX/"share/man/#{man}"
|
||||
end
|
||||
|
||||
npm_root = node_modules/"npm"
|
||||
|
|
Loading…
Reference in a new issue