aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2013-03-29 11:14:46 -0700
committerAdam Vandenberg2013-03-29 11:14:46 -0700
commit3320b15609266612d28d2083da7ac371111c585b (patch)
tree1dd8a58eb61591ef514cee446951ac316721798d /Library
parent261ca7aa6a3f1b7ad9a00a08149665fea3a554be (diff)
downloadbrew-3320b15609266612d28d2083da7ac371111c585b.tar.bz2
doctor: restore newlines between checks
Closes Homebrew/homebrew#18060.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/doctor.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb
index df33b35e0..687d67421 100644
--- a/Library/Homebrew/cmd/doctor.rb
+++ b/Library/Homebrew/cmd/doctor.rb
@@ -1111,13 +1111,16 @@ module Homebrew extend self
ARGV.named
end.select{ |method| method =~ /^check_/ }.reverse.uniq.reverse
+ first_warning = true
methods.each do |method|
out = checks.send(method)
unless out.nil? or out.empty?
lines = out.to_s.split('\n')
+ puts unless first_warning
opoo lines.shift
Homebrew.failed = true
puts lines
+ first_warning = false
end
end