diff options
| author | Adam Vandenberg | 2010-05-11 08:34:29 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2010-06-01 20:49:10 -0700 |
| commit | 11449bfd67a3c7d348d5b194c2fa0f81514c6925 (patch) | |
| tree | a8ac102b3894b7fe31cc609a7a22f8061042cb7f /Library/Homebrew | |
| parent | 48bfd8a5856057f165c83ba9c7b07ceb28b1be72 (diff) | |
| download | brew-11449bfd67a3c7d348d5b194c2fa0f81514c6925.tar.bz2 | |
Split patching message into downloading and patching
Diffstat (limited to 'Library/Homebrew')
| -rw-r--r-- | Library/Homebrew/formula.rb | 3 |
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' |
