diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb index 0de6508cac61f6ceb49d5ac23126ba902aa393c8..3924960ecf1fc7553f40e3d4095f7c7c17e50a90 100644 --- a/Library/Homebrew/cmd/doctor.rb +++ b/Library/Homebrew/cmd/doctor.rb @@ -550,6 +550,8 @@ def check_for_multiple_volumes where_cellar = volumes.which real_cellar where_temp = volumes.which real_temp + Dir.delete tmp + unless where_cellar == where_temp puts <<-EOS.undent Your Cellar & TEMP folders are on different volumes.