aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/extend
diff options
context:
space:
mode:
authorSteven Peters2017-09-26 17:30:28 -0700
committerSteven Peters2017-09-26 17:30:28 -0700
commitfc5b3778cb970e70444fe39aaa35d7baf19dc30b (patch)
tree107a9eb324ca8e633b38c499361b6ce646cee708 /Library/Homebrew/extend
parent24d747597f345d3b64c471bc93d96eff115abbbf (diff)
downloadbrew-fc5b3778cb970e70444fe39aaa35d7baf19dc30b.tar.bz2
keg_relocate: fix call to change_install_name
During the changes to macho file relocation refactoring in #3101, #3138, and #3139, the number of arguments to the mach::change_install_name function changed from 3 to 2, but there was still an instance of the function being called with the wrong number of arguments.
Diffstat (limited to 'Library/Homebrew/extend')
-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 7a1f42f8b..2c27912cf 100644
--- a/Library/Homebrew/extend/os/mac/keg_relocate.rb
+++ b/Library/Homebrew/extend/os/mac/keg_relocate.rb
@@ -16,7 +16,7 @@ class Keg
new_name = fixed_name(file, bad_name)
@require_relocation = true
- file.change_install_name(bad_name, new_name, file)
+ file.change_install_name(bad_name, new_name)
end
end
end