From e5e4eb71a40475000ae88cef0da622c19e0eed79 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Fri, 2 Jul 2010 09:34:40 -0700 Subject: 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. --- Library/Homebrew/utils.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library') diff --git a/Library/Homebrew/utils.rb b/Library/Homebrew/utils.rb index 8f3aaca1a..b7ec5317f 100644 --- a/Library/Homebrew/utils.rb +++ b/Library/Homebrew/utils.rb @@ -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 -- cgit v1.2.3