From fc5b3778cb970e70444fe39aaa35d7baf19dc30b Mon Sep 17 00:00:00 2001 From: Steven Peters Date: Tue, 26 Sep 2017 17:30:28 -0700 Subject: [PATCH] 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. --- Library/Homebrew/extend/os/mac/keg_relocate.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/extend/os/mac/keg_relocate.rb b/Library/Homebrew/extend/os/mac/keg_relocate.rb index 7a1f42f8b5..2c27912cf8 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