diff options
| author | Jack Nagel | 2014-03-18 21:00:51 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-03-18 21:01:33 -0500 |
| commit | 4fe63cdb860b9497d06df010387c5227a2881994 (patch) | |
| tree | 8f03586635fa15a7fbdff381eb80cd3903b98e44 /Library | |
| parent | 89e7f78120e8f782102503caaad37b11b13858b0 (diff) | |
| download | homebrew-4fe63cdb860b9497d06df010387c5227a2881994.tar.bz2 | |
node: don't pass relative path to install_symlink
Fixes #27683.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/node.rb | 4 |
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" |
