aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Nagel2012-02-18 20:46:26 -0600
committerJack Nagel2012-02-18 20:49:50 -0600
commit349f0b75f195b3583e435de2371754270e38ffe7 (patch)
treeae853f3469abd3af74787c5b49439a65cd48498a
parent02c6b58e76d87e1345f32c5801b5979b9eb301fb (diff)
downloadhomebrew-349f0b75f195b3583e435de2371754270e38ffe7.tar.bz2
audit: tighten xcodebuild SYMROOT check
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
-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