From ff9042f6508bd70b9ba289f422cc69e1c4c91022 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Tue, 13 Sep 2011 23:27:59 -0500 Subject: [PATCH] audit: correctly match SourceForge https URLs Signed-off-by: Jack Nagel --- Library/Homebrew/cmd/audit.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb index 30219a9eaf..5713d33d50 100755 --- a/Library/Homebrew/cmd/audit.rb +++ b/Library/Homebrew/cmd/audit.rb @@ -185,7 +185,7 @@ def audit_formula_urls f next if p =~ %r[svn\.sourceforge] # Is it a sourceforge http(s) URL? - next unless p =~ %r[^http?://.*\bsourceforge\.] + next unless p =~ %r[^https?://.*\bsourceforge\.] if p =~ /\?use_mirror=/ problems << " * Update this url (don't use ?use_mirror)."