diff options
| author | Jack Nagel | 2012-02-18 20:46:26 -0600 |
|---|---|---|
| committer | Jack Nagel | 2012-02-18 20:49:50 -0600 |
| commit | ecbee2b73ccfb4f29654d58798b7900daf5d7c7b (patch) | |
| tree | b514528e9094e655d6296686b50e0449ef400681 | |
| parent | 847a2732eea116008fca0e01c615114a62e4e0ce (diff) | |
| download | brew-ecbee2b73ccfb4f29654d58798b7900daf5d7c7b.tar.bz2 | |
audit: tighten xcodebuild SYMROOT check
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
| -rwxr-xr-x | Library/Homebrew/cmd/audit.rb | 2 |
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 |
