aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2010-07-02 09:34:40 -0700
committerAdam Vandenberg2010-07-02 09:34:40 -0700
commitecb5ce103e8436bbafc4ea646bda8ea4446ffee4 (patch)
tree367017be721dfce6d1e17222b3f2204b5bb61de7 /Library
parent8806d916620e6a9c5c147a4968e9189ceef388aa (diff)
downloadbrew-ecb5ce103e8436bbafc4ea646bda8ea4446ffee4.tar.bz2
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.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/utils.rb2
1 files changed, 1 insertions, 1 deletions
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