aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Vandenberg2010-04-20 12:29:17 -0700
committerAdam Vandenberg2010-04-20 12:29:17 -0700
commit0f7b3bd408cd3dfdf2db61f5b3dc0f24265164fe (patch)
treed89af6f86a1c677925fcfa63fbc0bd5a09268115
parentdb62a9ef9cde4f368b553d6b2bc609a46630cf3b (diff)
downloadbrew-0f7b3bd408cd3dfdf2db61f5b3dc0f24265164fe.tar.bz2
Publicize 'brew doctor' in build failure message.
-rwxr-xr-xbin/brew1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/brew b/bin/brew
index fc96bc1de..9061d4957 100755
--- a/bin/brew
+++ b/bin/brew
@@ -407,6 +407,7 @@ rescue BuildError => e
# then replace that string with the following when the github api returns
issues = issues_for_formula(formula_name)
puts "These existing issues may help you:", *issues unless issues.empty?
+ puts "Consider running `brew doctor` if a large number of installs are failing."
exit 1
rescue RuntimeError, SystemCallError => e
onoe e