Merge pull request #2416 from woodruffw/ruby-macho-audit-fix
audit: Fix cctools invocation check regular expression.
This commit is contained in:
commit
c69e4ee2f6
@ -1185,7 +1185,7 @@ class FormulaAuditor
|
||||
problem "'fails_with :llvm' is now a no-op so should be removed"
|
||||
end
|
||||
|
||||
if line =~ /system\s+['"](otool)|(install_name_tool)|(lipo)/
|
||||
if line =~ /system\s+['"](otool|install_name_tool|lipo)/ && formula.name != "cctools"
|
||||
problem "Use ruby-macho instead of calling #{$1}"
|
||||
end
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user