From 62a98753ec9cce23653b18e95b8debafd877856d Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Wed, 4 Apr 2012 20:50:22 +1000 Subject: Populate empty mirror_list for bottles. Fixes Homebrew/homebrew#11434. --- Library/Homebrew/formula.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'Library') diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 8d873ee4a..82788869e 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -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. -- cgit v1.2.3