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
commit90b2f1f4ba57885f27662a086da7cf58f13377bc (patch)
tree271a944ec858bc349b0d56120fa02a68d60767ec /Library
parenta38e2284eae9d40f5c46fb1623b2bef4061a44b5 (diff)
downloadbrew-90b2f1f4ba57885f27662a086da7cf58f13377bc.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?