Use cleanpath instead of realpath to keep symlinks intact.
This commit is contained in:
parent
e5fd9be0dc
commit
58fe4cc2bf
@ -21,5 +21,5 @@ require 'utils'
|
|||||||
# TODO if whoami == root then use /Library/Caches/Homebrew instead
|
# TODO if whoami == root then use /Library/Caches/Homebrew instead
|
||||||
HOMEBREW_VERSION='0.3'
|
HOMEBREW_VERSION='0.3'
|
||||||
HOMEBREW_CACHE=File.expand_path "~/Library/Caches/Homebrew"
|
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'
|
HOMEBREW_CELLAR=HOMEBREW_PREFIX+'Cellar'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user