From 58fe4cc2bf709a0603e441166c9b23bd70851b3e Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Fri, 31 Jul 2009 18:06:49 -0700 Subject: Use cleanpath instead of realpath to keep symlinks intact. --- Library/Homebrew/env.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library') diff --git a/Library/Homebrew/env.rb b/Library/Homebrew/env.rb index a9cb6aa91..3d948275e 100644 --- a/Library/Homebrew/env.rb +++ b/Library/Homebrew/env.rb @@ -21,5 +21,5 @@ require 'utils' # TODO if whoami == root then use /Library/Caches/Homebrew instead HOMEBREW_VERSION='0.3' HOMEBREW_CACHE=File.expand_path "~/Library/Caches/Homebrew" -HOMEBREW_PREFIX=Pathname.new(__FILE__).dirname.parent.parent.realpath +HOMEBREW_PREFIX=Pathname.new(__FILE__).dirname.parent.parent.cleanpath HOMEBREW_CELLAR=HOMEBREW_PREFIX+'Cellar' -- cgit v1.2.3