diff options
| author | Tim D. Smith | 2016-06-27 23:25:15 -0700 |
|---|---|---|
| committer | Tim D. Smith | 2016-06-27 23:25:15 -0700 |
| commit | cab97cf4d782ce36762f0cd615ca59718f55b0d5 (patch) | |
| tree | 58b71f90c8b651e734b4ffa6e2ea1d1e85c4042f | |
| parent | 70ceb851a596c4f40ccfb448d543bb5eb5089b4a (diff) | |
| download | brew-cab97cf4d782ce36762f0cd615ca59718f55b0d5.tar.bz2 | |
Revert "keg_relocate: Exclude hardlinks from mach_o_files."
This reverts commit 3e5e14a59580325faf397b48d62a52f0013a17f2.
| -rw-r--r-- | Library/Homebrew/keg_relocate.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Library/Homebrew/keg_relocate.rb b/Library/Homebrew/keg_relocate.rb index d436225f7..b1a72f1ef 100644 --- a/Library/Homebrew/keg_relocate.rb +++ b/Library/Homebrew/keg_relocate.rb @@ -157,12 +157,8 @@ class Keg end def mach_o_files - hardlinks = Set.new mach_o_files = [] path.find do |pn| - # if we've already processed a file, ignore its hardlinks (which have the same dev ID and inode) - # this prevents relocations from being performed on a binary more than once - next unless hardlinks.add? [pn.stat.dev, pn.stat.ino] next if pn.symlink? || pn.directory? mach_o_files << pn if pn.dylib? || pn.mach_o_bundle? || pn.mach_o_executable? end |
