aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/formula.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/formula.rb')
-rw-r--r--Library/Homebrew/formula.rb7
1 files changed, 4 insertions, 3 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb
index 3df0d29f1..f2246c7a5 100644
--- a/Library/Homebrew/formula.rb
+++ b/Library/Homebrew/formula.rb
@@ -496,8 +496,9 @@ EOF
return if patch_list.empty?
ohai "Downloading patches"
- # downloading all at once is much more efficient, espeically for FTP
- curl *(patch_list.collect{|p| p[:curl_args]}.select{|p| p}.flatten)
+ # downloading all at once is much more efficient, especially for FTP
+ patches = patch_list.collect{|p| p[:curl_args]}.select{|p| p}.flatten
+ curl(*patches)
ohai "Patching"
patch_list.each do |p|
@@ -543,7 +544,7 @@ EOF
attr_rw :version, :homepage, :specs, :deps, :external_deps
attr_rw :keg_only_reason, :skip_clean_all
- attr_rw *CHECKSUM_TYPES
+ attr_rw(*CHECKSUM_TYPES)
def head val=nil, specs=nil
return @head if val.nil?