Fix cache extension for github tarballs

This commit is contained in:
Max Howell 2011-07-29 11:40:53 +01:00
parent 3cda43a681
commit 924f92300f

View File

@ -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'