aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/exceptions.rb
diff options
context:
space:
mode:
authorMike McQuaid2013-10-31 16:58:55 -0700
committerMike McQuaid2013-10-31 17:02:20 -0700
commit348de94b4bca74b47d410f0b05f8a5ed572603f0 (patch)
tree835de3c7269b0f7b93127c6cf40be15596832b6a /Library/Homebrew/exceptions.rb
parent0747d05362fded960669816820f93c581e7e00bc (diff)
downloadhomebrew-348de94b4bca74b47d410f0b05f8a5ed572603f0.tar.bz2
Use HOMEBREW_LOGS more consistently.
Diffstat (limited to 'Library/Homebrew/exceptions.rb')
-rw-r--r--Library/Homebrew/exceptions.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/exceptions.rb b/Library/Homebrew/exceptions.rb
index f57235cca..a0c0bf004 100644
--- a/Library/Homebrew/exceptions.rb
+++ b/Library/Homebrew/exceptions.rb
@@ -200,7 +200,7 @@ class BuildError < Homebrew::InstallationError
Homebrew.dump_build_env(env)
puts
onoe "#{formula.name} did not build"
- unless (logs = Dir["#{ENV['HOME']}/Library/Logs/Homebrew/#{formula}/*"]).empty?
+ unless (logs = Dir["#{HOMEBREW_LOGS}/#{formula}/*"]).empty?
puts "Logs:"
puts logs.map{|fn| " #{fn}"}.join("\n")
end