From ecbee2b73ccfb4f29654d58798b7900daf5d7c7b Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sat, 18 Feb 2012 20:46:26 -0600 Subject: [PATCH] audit: tighten xcodebuild SYMROOT check Signed-off-by: Jack Nagel --- Library/Homebrew/cmd/audit.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb index 84b876884e..644a08b18b 100755 --- a/Library/Homebrew/cmd/audit.rb +++ b/Library/Homebrew/cmd/audit.rb @@ -102,7 +102,7 @@ def audit_formula_text name, text end unless name == "gfortran" # Gfortran itself has this text in the caveats # xcodebuild should specify SYMROOT - if text =~ /xcodebuild/ and not text =~ /SYMROOT=/ + if text =~ /system\s+['"]xcodebuild/ and not text =~ /SYMROOT=/ problems << " * xcodebuild should be passed an explicit \"SYMROOT\"" end