Use 'realpath'

This commit is contained in:
Adam Vandenberg 2010-09-06 09:23:09 -07:00
parent 64b45334bb
commit 56a4342eeb

View File

@ -270,7 +270,7 @@ def dump_build_env env
results = value
if File.exists? value and File.symlink? value
target = Pathname.new(value)
results += " => #{target.dirname+target.readlink}"
results += " => #{target.realpath}"
end
puts "#{k}: #{results}"
end