diff options
| author | William Woodruff | 2017-03-29 09:49:48 -0400 | 
|---|---|---|
| committer | William Woodruff | 2017-03-29 09:52:35 -0400 | 
| commit | e7554b0b3f71e0658e52e8dea974c511bc58aeba (patch) | |
| tree | f6a9156aead1b9e18b944585db1e48524851c3af /Library/Homebrew/dev-cmd/audit.rb | |
| parent | 8608d1ea78cbe7c6dc851a3ad8f083dd6b399293 (diff) | |
| download | brew-e7554b0b3f71e0658e52e8dea974c511bc58aeba.tar.bz2 | |
audit: Fix cctools invocation check regular expression.
Additionally, ignore the cctools formula itself, since it obviously
needs to check cctools invocations.
Diffstat (limited to 'Library/Homebrew/dev-cmd/audit.rb')
| -rw-r--r-- | Library/Homebrew/dev-cmd/audit.rb | 2 | 
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  | 
