aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/keg_relocate.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/keg_relocate.rb')
-rw-r--r--Library/Homebrew/keg_relocate.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/keg_relocate.rb b/Library/Homebrew/keg_relocate.rb
index eceef192f..59ff1c9d7 100644
--- a/Library/Homebrew/keg_relocate.rb
+++ b/Library/Homebrew/keg_relocate.rb
@@ -98,8 +98,8 @@ class Keg
end
def install_name_tool(*args)
- tool = MacOS.locate("install_name_tool")
- system(tool, *args) || raise(ErrorDuringExecution.new(tool, args))
+ tool = MacOS.install_name_tool
+ system(tool, *args) || raise ErrorDuringExecution.new(tool, args)
end
# If file is a dylib or bundle itself, look for the dylib named by