aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike McQuaid2017-12-14 15:06:10 +0000
committerMike McQuaid2017-12-14 16:44:25 +0000
commit7a8f61c28cb55a1b170c585c2e76e71619999662 (patch)
treeb4bb7543c67347188f3c40417529cc7eba9a1324
parentc912d268f17901044c2012683c11e2adcf260cf2 (diff)
downloadbrew-7a8f61c28cb55a1b170c585c2e76e71619999662.tar.bz2
gist-logs: use full path to brew.
This fixes the command with environment filtering enabled.
-rw-r--r--Library/Homebrew/cmd/gist-logs.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/gist-logs.rb b/Library/Homebrew/cmd/gist-logs.rb
index 45537602b..9c0302813 100644
--- a/Library/Homebrew/cmd/gist-logs.rb
+++ b/Library/Homebrew/cmd/gist-logs.rb
@@ -27,7 +27,7 @@ module Homebrew
# Dummy summary file, asciibetically first, to control display title of gist
files["# #{f.name} - #{timestamp}.txt"] = { content: brief_build_info(f) }
files["00.config.out"] = { content: s.string }
- files["00.doctor.out"] = { content: `brew doctor 2>&1` }
+ files["00.doctor.out"] = { content: Utils.popen_read("#{HOMEBREW_PREFIX}/bin/brew", "doctor", err: :out) }
unless f.core_formula?
tap = <<~EOS
Formula: #{f.name}