diff --git a/Library/Homebrew/utils.rb b/Library/Homebrew/utils.rb index 829cb51646..0c2e4de8b2 100644 --- a/Library/Homebrew/utils.rb +++ b/Library/Homebrew/utils.rb @@ -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