diff options
| author | Adam Vandenberg | 2010-07-02 09:34:40 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2010-07-02 09:34:40 -0700 |
| commit | e5e4eb71a40475000ae88cef0da622c19e0eed79 (patch) | |
| tree | 24a7178cb6bc0a98184e0dfc401a79feecebaa6d /Library/Homebrew/utils.rb | |
| parent | c3e6ee54a5b5b0a77936be0cf077a261fdfa825f (diff) | |
| download | homebrew-e5e4eb71a40475000ae88cef0da622c19e0eed79.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/Homebrew/utils.rb')
| -rw-r--r-- | Library/Homebrew/utils.rb | 2 |
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 |
