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"
|
problem "'fails_with :llvm' is now a no-op so should be removed"
|
||||||
end
|
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}"
|
problem "Use ruby-macho instead of calling #{$1}"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user