aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2012-12-21 15:13:36 -0600
committerJack Nagel2012-12-21 15:15:42 -0600
commita64e9e542f04b845f12f18f644d6d33a170e3ada (patch)
treed0bb8d88471dd0e619339bffe120d77f9eeaf006 /Library
parent43108e42d95a892cc5e9227c32eaa1174588891e (diff)
downloadbrew-a64e9e542f04b845f12f18f644d6d33a170e3ada.tar.bz2
doctor: run slowest checks last
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/doctor.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb
index fc8b637ba..934de6eaf 100644
--- a/Library/Homebrew/cmd/doctor.rb
+++ b/Library/Homebrew/cmd/doctor.rb
@@ -1020,7 +1020,7 @@ module Homebrew extend self
checks.methods.sort << "check_for_linked_keg_only_brews" << "check_for_outdated_homebrew"
else
ARGV.named
- end.select{ |method| method =~ /^check_/ }.uniq
+ end.select{ |method| method =~ /^check_/ }.reverse.uniq.reverse
methods.each do |method|
out = checks.send(method)