aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMax Howell2011-07-29 11:40:53 +0100
committerMax Howell2011-07-29 11:58:41 +0100
commitb4d84b106fea246de5ae38b4a77f4ef980b3a936 (patch)
treeae2bb2301ffdd37350d83ae250b3dfbd35168ac3 /Library
parentb0feecf7200074cb7a8615f25490d871ff66c491 (diff)
downloadhomebrew-b4d84b106fea246de5ae38b4a77f4ef980b3a936.tar.bz2
Fix cache extension for github tarballs
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/download_strategy.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb
index 883e81a05..6db69f3e3 100644
--- a/Library/Homebrew/download_strategy.rb
+++ b/Library/Homebrew/download_strategy.rb
@@ -113,7 +113,7 @@ private
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'