mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-12-02 05:29:47 -05:00
Remove $PATH from --config and build dumps.
While it is useful to be able to see the user's path in bug reports, it is perhaps slightly too intrusive to post this without the user's permission. A path can have usernames or other project sensitive information, and several Homebrew users were editing their bug reports to omit this information. `brew doctor` will still report on the path issues that we typically care about, so dropping automatic posting of PATH.
This commit is contained in:
1 parent
c3e6ee54a5
commit
e5e4eb71a4
2 files changed
+1
-2
No files matched your search
@@ -218,7 +218,7 @@ end
|
||||
def dump_build_env env
|
||||
puts "\"--use-llvm\" was specified" if ARGV.include? '--use-llvm'
|
||||
|
||||
%w[CC CXX LD CFLAGS CXXFLAGS CPPFLAGS LDFLAGS MACOSX_DEPLOYMENT_TARGET MAKEFLAGS PATH PKG_CONFIG_PATH HOMEBREW_USE_LLVM].each do |k|
|
||||
%w[CC CXX LD CFLAGS CXXFLAGS CPPFLAGS LDFLAGS MACOSX_DEPLOYMENT_TARGET MAKEFLAGS PKG_CONFIG_PATH HOMEBREW_USE_LLVM].each do |k|
|
||||
value = env[k]
|
||||
puts "#{k}: #{value}" if value
|
||||
end
|
||||
|
||||
@@ -65,7 +65,6 @@ GCC-4.2: #{gcc_42 ? "build #{gcc_42}" : "N/A"} (#{RECOMMENDED_GCC_42} or newer r
|
||||
LLVM: #{llvm ? "build #{llvm}" : "N/A" } #{llvm ? "(#{RECOMMENDED_LLVM} or newer recommended)" : "" }
|
||||
MacPorts or Fink? #{macports_or_fink_installed?}
|
||||
X11 installed? #{x11_installed?}
|
||||
PATH: #{ENV['PATH']}
|
||||
EOS
|
||||
end
|
||||
|
||||
|
||||
Reference in new issue
Block a user