aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-03-18 21:00:51 -0500
committerJack Nagel2014-03-18 21:01:33 -0500
commit4fe63cdb860b9497d06df010387c5227a2881994 (patch)
tree8f03586635fa15a7fbdff381eb80cd3903b98e44 /Library
parent89e7f78120e8f782102503caaad37b11b13858b0 (diff)
downloadhomebrew-4fe63cdb860b9497d06df010387c5227a2881994.tar.bz2
node: don't pass relative path to install_symlink
Fixes #27683.
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/node.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/Library/Formula/node.rb b/Library/Formula/node.rb
index 9abb4f614..451961ffc 100644
--- a/Library/Formula/node.rb
+++ b/Library/Formula/node.rb
@@ -68,9 +68,7 @@ class Node < Formula
# Link npm manpages
Pathname.glob("#{lib}/node_modules/npm/man/*").each do |man|
dir = send(man.basename)
- man.children.each do |file|
- dir.install_symlink(file.relative_path_from(dir))
- end
+ man.children.each { |file| dir.install_symlink(file) }
end
if build.with? "completion"