aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
diff options
context:
space:
mode:
authorJack Nagel2012-02-18 20:46:26 -0600
committerJack Nagel2012-02-18 20:49:50 -0600
commitecbee2b73ccfb4f29654d58798b7900daf5d7c7b (patch)
treeb514528e9094e655d6296686b50e0449ef400681 /Library/Homebrew/cmd
parent847a2732eea116008fca0e01c615114a62e4e0ce (diff)
downloadbrew-ecbee2b73ccfb4f29654d58798b7900daf5d7c7b.tar.bz2
audit: tighten xcodebuild SYMROOT check
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Homebrew/cmd')
-rwxr-xr-xLibrary/Homebrew/cmd/audit.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb
index 84b876884..644a08b18 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