Skip to content

Commit

Permalink
Fix cache extension for github tarballs
Browse files Browse the repository at this point in the history
  • Loading branch information
mxcl committed Jul 29, 2011
1 parent b0feecf commit b4d84b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Library/Homebrew/download_strategy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def chdir

def ext
# GitHub uses odd URLs for zip files, so check for those
rx=%r[http://(www\.)?github\.com/.*/(zip|tar)ball/]
rx=%r[https?://(www\.)?github\.com/.*/(zip|tar)ball/]
if rx.match @url
if $2 == 'zip'
'.zip'
Expand Down

0 comments on commit b4d84b1

Please sign in to comment.