From 90b2f1f4ba57885f27662a086da7cf58f13377bc Mon Sep 17 00:00:00 2001 From: Misty De Meo Date: Thu, 5 Jul 2012 13:11:44 -0500 Subject: [PATCH] SoftwareSpec: initialize @mirrors Since methods were being called on it without verifying its type. --- Library/Homebrew/formula_support.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/Library/Homebrew/formula_support.rb b/Library/Homebrew/formula_support.rb index 540d2db71b..30cbee4e8e 100644 --- a/Library/Homebrew/formula_support.rb +++ b/Library/Homebrew/formula_support.rb @@ -7,6 +7,7 @@ class SoftwareSpec def initialize url=nil, version=nil @url = url @version = version + @mirrors = [] end # Was the version defined in the DSL, or detected from the URL?