diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb index 71445ca4d9..3f2a31774c 100644 --- a/Library/Homebrew/cmd/audit.rb +++ b/Library/Homebrew/cmd/audit.rb @@ -292,6 +292,10 @@ class FormulaAuditor end def audit_text + if text =~ /system\s+['"]scons/ + problem "use \"scons, *args\" instead of \"system 'scons', *args\"" + end + if text =~ /system\s+['"]xcodebuild/ && text !~ /SYMROOT=/ problem "xcodebuild should be passed an explicit \"SYMROOT\"" end