audit: tighten xcodebuild SYMROOT check
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
parent
847a2732ee
commit
ecbee2b73c
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user