diff options
| author | Jack Nagel | 2014-09-04 17:33:10 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-09-04 17:33:33 -0500 |
| commit | 44958083b52e1c475b7c70397a7a83aab784ceaa (patch) | |
| tree | 58211b944d1c8e3289d07c379a5f842927eda17f /Library | |
| parent | 97448fdf5b62eb73edae1159f520c03927ced510 (diff) | |
| download | homebrew-44958083b52e1c475b7c70397a7a83aab784ceaa.tar.bz2 | |
doctor: print values of DYLD_* env vars
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/cmd/doctor.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb index 28474baeb..59a825573 100644 --- a/Library/Homebrew/cmd/doctor.rb +++ b/Library/Homebrew/cmd/doctor.rb @@ -659,9 +659,7 @@ def check_DYLD_vars Setting DYLD_* vars can break dynamic linking. Set variables: EOS - found.each do |e| - s << " #{e}\n" - end + s << found.map { |e| " #{e}: #{ENV.fetch(e)}\n" }.join if found.include? 'DYLD_INSERT_LIBRARIES' s += <<-EOS.undent |
