aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-09-04 17:33:10 -0500
committerJack Nagel2014-09-04 17:33:33 -0500
commit6638d08489a4ac312fe1f3d31575b1424d54e78d (patch)
tree5132e5bfd8920750eea42ed81653061922ad54e4 /Library
parente5ea0bcd65d438507161c277acb3b6a10268a2ed (diff)
downloadbrew-6638d08489a4ac312fe1f3d31575b1424d54e78d.tar.bz2
doctor: print values of DYLD_* env vars
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/doctor.rb4
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