aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMisty De Meo2012-07-05 13:11:44 -0500
committerMisty De Meo2012-07-05 13:11:44 -0500
commit3ee9b7bd88a2d9017cdf005b10567a1d6d8ec211 (patch)
treeb2ae6437330107ad8d403499c83c2058a458737a /Library
parent6778493dd870b63f9307f8e7d0c4c9801b07f64e (diff)
downloadhomebrew-3ee9b7bd88a2d9017cdf005b10567a1d6d8ec211.tar.bz2
SoftwareSpec: initialize @mirrors
Since methods were being called on it without verifying its type.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/formula_support.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/formula_support.rb b/Library/Homebrew/formula_support.rb
index 540d2db71..30cbee4e8 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?