diff options
| author | Jack Nagel | 2011-09-13 23:27:59 -0500 |
|---|---|---|
| committer | Jack Nagel | 2011-09-13 23:35:31 -0500 |
| commit | ff9042f6508bd70b9ba289f422cc69e1c4c91022 (patch) | |
| tree | 0402bbb1b21bbd539bd7d15a333b865eca14baf8 /Library | |
| parent | d95e7079a2f0c6e259dcf8e1222dcb80da250fcb (diff) | |
| download | brew-ff9042f6508bd70b9ba289f422cc69e1c4c91022.tar.bz2 | |
audit: correctly match SourceForge https URLs
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
| -rwxr-xr-x | Library/Homebrew/cmd/audit.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb index 30219a9ea..5713d33d5 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)." |
