diagnostic: fix style of previously skipped method
Fix style of previously omitted `check_for_bad_install_name_tool` method to be in line with changes made in #49. Closes #56. Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
This commit is contained in:
parent
eb137dc924
commit
883751d666
@ -470,8 +470,9 @@ module Homebrew
|
||||
|
||||
# otool may not work, for example if the Xcode license hasn't been accepted yet
|
||||
return if libs.empty?
|
||||
return if libs.include? "/usr/lib/libxcselect.dylib"
|
||||
|
||||
unless libs.include? "/usr/lib/libxcselect.dylib" then <<-EOS.undent
|
||||
<<-EOS.undent
|
||||
You have an outdated version of /usr/bin/install_name_tool installed.
|
||||
This will cause binary package installations to fail.
|
||||
This can happen if you install osx-gcc-installer or RailsInstaller.
|
||||
@ -479,7 +480,6 @@ module Homebrew
|
||||
the OS packages.
|
||||
EOS
|
||||
end
|
||||
end
|
||||
|
||||
def __check_subdir_access(base)
|
||||
target = HOMEBREW_PREFIX+base
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user