Skip to content
Snippets Groups Projects
Commit c69e4ee2 authored by William Woodruff's avatar William Woodruff Committed by GitHub
Browse files

Merge pull request #2416 from woodruffw/ruby-macho-audit-fix

audit: Fix cctools invocation check regular expression.
parents 8608d1ea e7554b0b
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment