Print each line of --env output atomically

This commit is contained in:
Jack Nagel 2014-09-14 01:39:02 -05:00
parent 529b060dbb
commit 976bb9b057

View File

@ -36,12 +36,12 @@ module Homebrew
keys.each do |key|
value = env[key]
print "#{key}: #{value}"
s = "#{key}: #{value}"
case key
when "CC", "CXX", "LD"
print " => #{Pathname.new(value).realpath}" if File.symlink?(value)
s << " => #{Pathname.new(value).realpath}" if File.symlink?(value)
end
puts
puts s
end
end
end