diff options
| author | Adam Vandenberg | 2009-07-31 18:06:49 -0700 |
|---|---|---|
| committer | Max Howell | 2009-08-02 01:25:01 +0100 |
| commit | 0f52a9b3b3b4fb5a2c6dce25189eb2ba17b02783 (patch) | |
| tree | a308284b24efb2dccd94587a1d8690c2165849d8 /Library | |
| parent | 82e1688028a64471bd16870354990e5618c560e5 (diff) | |
| download | homebrew-0f52a9b3b3b4fb5a2c6dce25189eb2ba17b02783.tar.bz2 | |
Use cleanpath instead of realpath to keep symlinks intact.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/env.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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' |
