aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2010-05-11 08:34:29 -0700
committerAdam Vandenberg2010-06-01 20:49:10 -0700
commit2764fbd6f405013dcfceb5ed9aa1687e7c9c1fcc (patch)
treeb36c436d325739dd31ceeddbbea3e9956e36e1dd /Library
parent017a5d158c58f27e049188d3343f0bfef10eef14 (diff)
downloadhomebrew-2764fbd6f405013dcfceb5ed9aa1687e7c9c1fcc.tar.bz2
Split patching message into downloading and patching
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/formula.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb
index 1827cc263..284161853 100644
--- a/Library/Homebrew/formula.rb
+++ b/Library/Homebrew/formula.rb
@@ -378,7 +378,6 @@ private
def patch
return if patches.nil?
- ohai "Patching"
if not patches.kind_of? Hash
# We assume -p1
patch_defns = { :p1 => patches }
@@ -422,9 +421,11 @@ private
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)
+ ohai "Patching"
patch_list.each do |p|
case p[:compression]
when :gzip then safe_system "/usr/bin/gunzip", p[:filename]+'.gz'