Populate empty mirror_list for bottles.

Fixes Homebrew/homebrew#11434.
This commit is contained in:
Mike McQuaid 2012-04-04 20:50:22 +10:00
parent 6010763159
commit 62a98753ec

View File

@ -443,6 +443,7 @@ public
def fetch
if install_bottle? self
downloader = CurlBottleDownloadStrategy.new bottle_url, name, version, nil
mirror_list = []
else
downloader = @downloader
# Don't attempt mirrors if this install is not pointed at a "stable" URL.