aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rwxr-xr-xLibrary/Homebrew/cmd/audit.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb
index cfa6879a0..fce3d869e 100755
--- a/Library/Homebrew/cmd/audit.rb
+++ b/Library/Homebrew/cmd/audit.rb
@@ -187,8 +187,8 @@ def audit_formula_urls f
# Is it a sourceforge http(s) URL?
next unless p =~ %r[^https?://.*\bsourceforge\.]
- if p =~ /\?use_mirror=/
- problems << " * Update this url (don't use ?use_mirror)."
+ if p =~ /(\?|&)use_mirror=/
+ problems << " * Update this url (don't use #{$1}use_mirror)."
end
if p =~ /\/download$/