aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/utils.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2010-09-06 09:23:09 -0700
committerAdam Vandenberg2010-09-06 09:30:23 -0700
commit7826802518324a8f7c7dc58e33af29bc51bfa8be (patch)
tree355cf96743944e023090c3c222679d1c34517d23 /Library/Homebrew/utils.rb
parent417634df6e57feaba3cf833099850d3e773e8d85 (diff)
downloadhomebrew-7826802518324a8f7c7dc58e33af29bc51bfa8be.tar.bz2
Use 'realpath'
Diffstat (limited to 'Library/Homebrew/utils.rb')
-rw-r--r--Library/Homebrew/utils.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/utils.rb b/Library/Homebrew/utils.rb
index 829cb5164..0c2e4de8b 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