aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Woodruff2017-03-29 10:22:16 -0400
committerGitHub2017-03-29 10:22:16 -0400
commitc69e4ee2f6b7cd01d1e0731ce214d26607d1427d (patch)
treef6a9156aead1b9e18b944585db1e48524851c3af
parent8608d1ea78cbe7c6dc851a3ad8f083dd6b399293 (diff)
parente7554b0b3f71e0658e52e8dea974c511bc58aeba (diff)
downloadbrew-c69e4ee2f6b7cd01d1e0731ce214d26607d1427d.tar.bz2
Merge pull request #2416 from woodruffw/ruby-macho-audit-fix
audit: Fix cctools invocation check regular expression.
-rw-r--r--Library/Homebrew/dev-cmd/audit.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/dev-cmd/audit.rb b/Library/Homebrew/dev-cmd/audit.rb
index b6d7dbd2a..e9465d968 100644
--- a/Library/Homebrew/dev-cmd/audit.rb
+++ b/Library/Homebrew/dev-cmd/audit.rb
@@ -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