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
commit924f92300fb6221bfd7bed20b0571db7a3b8f71b (patch)
treea8e1fda7961cc80d0ec2a18a9a57531c2385c7f2 /Library
parent3cda43a681041cf8b0b593d25b131a603c15ef61 (diff)
downloadbrew-924f92300fb6221bfd7bed20b0571db7a3b8f71b.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'