From 924f92300fb6221bfd7bed20b0571db7a3b8f71b Mon Sep 17 00:00:00 2001 From: Max Howell Date: Fri, 29 Jul 2011 11:40:53 +0100 Subject: [PATCH] Fix cache extension for github tarballs --- Library/Homebrew/download_strategy.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb index 883e81a053..6db69f3e3b 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'