diff options
| author | Mike McQuaid | 2017-12-14 15:06:10 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2017-12-14 16:44:25 +0000 |
| commit | 7a8f61c28cb55a1b170c585c2e76e71619999662 (patch) | |
| tree | b4bb7543c67347188f3c40417529cc7eba9a1324 | |
| parent | c912d268f17901044c2012683c11e2adcf260cf2 (diff) | |
| download | brew-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.rb | 2 |
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} |
