gist-logs: use full path to brew.

This fixes the command with environment filtering enabled.
This commit is contained in:
Mike McQuaid 2017-12-14 15:06:10 +00:00
parent c912d268f1
commit 7a8f61c28c

View File

@ -27,7 +27,7 @@ module Homebrew
# Dummy summary file, asciibetically first, to control display title of gist # Dummy summary file, asciibetically first, to control display title of gist
files["# #{f.name} - #{timestamp}.txt"] = { content: brief_build_info(f) } files["# #{f.name} - #{timestamp}.txt"] = { content: brief_build_info(f) }
files["00.config.out"] = { content: s.string } 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? unless f.core_formula?
tap = <<~EOS tap = <<~EOS
Formula: #{f.name} Formula: #{f.name}