Skip to content

Commit

Permalink
node@0.10: copy rather than symlink manpages
Browse files Browse the repository at this point in the history
  • Loading branch information
DomT4 authored and ilovezfs committed Jun 2, 2017
1 parent 26dd77c commit cc97729
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Formula/node@0.10.rb
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def post_install
# 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"
Expand Down

0 comments on commit cc97729

Please sign in to comment.