aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorMartin Afanasjew2016-07-09 17:06:29 +0200
committerMartin Afanasjew2016-07-09 17:06:29 +0200
commit832a08abcdf2256c140d9f81d8753d8bddd323c2 (patch)
treeb556f17e947efa55c2909c9ea77ed37a4d745533 /Library/Homebrew
parenteba437e15334064863d2ee0252cfaf2cbce1664b (diff)
downloadbrew-832a08abcdf2256c140d9f81d8753d8bddd323c2.tar.bz2
extend/os/mac/keg_relocate: fix weird omission
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/extend/os/mac/keg_relocate.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/extend/os/mac/keg_relocate.rb b/Library/Homebrew/extend/os/mac/keg_relocate.rb
index 80f687516..61d54ba97 100644
--- a/Library/Homebrew/extend/os/mac/keg_relocate.rb
+++ b/Library/Homebrew/extend/os/mac/keg_relocate.rb
@@ -126,7 +126,7 @@ class Keg
def self.file_linked_libraries(file, string)
# Check dynamic library linkage. Importantly, do not run otool on static
# libraries, which will falsely report "linkage" to themselves.
- if file.mach_o_executable? || file.dylib? || file.mach_o_bund
+ if file.mach_o_executable? || file.dylib? || file.mach_o_bundle?
file.dynamically_linked_libraries.select { |lib| lib.include? string }
else
[]