audit: check for MacPorts patches from trunk
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
parent
399d73e100
commit
17d83b735a
@ -125,6 +125,11 @@ def audit_formula_text name, text
|
||||
problems << " * Use 'ARGV.include?' instead of 'ARGV.flag?'"
|
||||
end
|
||||
|
||||
# MacPorts patches should specify a revision, not trunk
|
||||
if text =~ %r[macports/trunk]
|
||||
problems << " * MacPorts patches should specify a revision instead of trunk"
|
||||
end
|
||||
|
||||
return problems
|
||||
end
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user