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
commit37e2005e792a9f6d3e7597e06eb4dc9bb822b5b9 (patch)
treee826120cc9f52348604c951f6fb5e36134e4a80a /Library/Homebrew/exceptions.rb
parent80c7a80a46a75b85fddb5429ca073b0210e4b389 (diff)
downloadbrew-37e2005e792a9f6d3e7597e06eb4dc9bb822b5b9.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