diff options
| author | William Woodruff | 2015-06-13 20:32:04 -0400 |
|---|---|---|
| committer | Misty De Meo | 2015-08-21 10:58:13 -0700 |
| commit | 85187bf6d3779692c77b5ef8a256f16b3048294a (patch) | |
| tree | 004ba5d7a8096238d829068550901b5de933e0c8 /Library/Homebrew/mach.rb | |
| parent | 8aad5230630c04c231c2d90406780deeb7a65109 (diff) | |
| download | brew-85187bf6d3779692c77b5ef8a256f16b3048294a.tar.bz2 | |
MacOS: update locate_cctool
This becomes MacOS.{install_name_tool,otool}, only do check_xcode if
xcode is installed, otherwise emit a warning
Diffstat (limited to 'Library/Homebrew/mach.rb')
| -rw-r--r-- | Library/Homebrew/mach.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/mach.rb b/Library/Homebrew/mach.rb index c15399cbf..f7ca428e6 100644 --- a/Library/Homebrew/mach.rb +++ b/Library/Homebrew/mach.rb @@ -154,9 +154,9 @@ module MachO def parse_otool_L_output ENV["HOMEBREW_MACH_O_FILE"] = path.expand_path.to_s - libs = `#{MacOS.locate("otool")} -L "$HOMEBREW_MACH_O_FILE"`.split("\n") + libs = `#{MacOS.otool} -L "$HOMEBREW_MACH_O_FILE"`.split("\n") unless $?.success? - raise ErrorDuringExecution.new(MacOS.locate("otool"), + raise ErrorDuringExecution.new(MacOS.otool, ["-L", ENV["HOMEBREW_MACH_O_FILE"]]) end |
