Skip to content
Snippets Groups Projects
Commit 17d83b73 authored by Jack Nagel's avatar Jack Nagel
Browse files

audit: check for MacPorts patches from trunk


Signed-off-by: default avatarJack Nagel <jacknagel@gmail.com>
parent 399d73e1
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment