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
commit11449bfd67a3c7d348d5b194c2fa0f81514c6925 (patch)
treea8ac102b3894b7fe31cc609a7a22f8061042cb7f /Library
parent48bfd8a5856057f165c83ba9c7b07ceb28b1be72 (diff)
downloadbrew-11449bfd67a3c7d348d5b194c2fa0f81514c6925.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'