aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorMike McQuaid2012-04-04 20:50:22 +1000
committerMike McQuaid2012-04-04 20:50:22 +1000
commit62a98753ec9cce23653b18e95b8debafd877856d (patch)
tree66c53c2c8401173e13c73e2fe569bc5052e46e4a /Library/Homebrew
parent6010763159e2005069328b864ae6daf55b3cb288 (diff)
downloadbrew-62a98753ec9cce23653b18e95b8debafd877856d.tar.bz2
Populate empty mirror_list for bottles.
Fixes Homebrew/homebrew#11434.
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/formula.rb1
1 files changed, 1 insertions, 0 deletions
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.