Clarify cellar comment

This commit is contained in:
Adam Vandenberg 2010-06-29 13:53:57 -07:00
parent 696e49e87a
commit 41e8245534

View File

@ -23,9 +23,8 @@ end
HOMEBREW_PREFIX = Pathname.new(HOMEBREW_BREW_FILE).dirname.parent # Where we link under HOMEBREW_PREFIX = Pathname.new(HOMEBREW_BREW_FILE).dirname.parent # Where we link under
HOMEBREW_REPOSITORY = Pathname.new(HOMEBREW_BREW_FILE).realpath.dirname.parent # Where .git is found HOMEBREW_REPOSITORY = Pathname.new(HOMEBREW_BREW_FILE).realpath.dirname.parent # Where .git is found
# Where should be build to? # Where we store built products; /usr/local/Cellar if it exists,
# If /usr/local/Cellar exists, as a symlink or real folder, use that. # otherwise a Cellar relative to the Repository.
# Otherwise, build into a Cellar in the Repo. folder.
if (HOMEBREW_PREFIX+'Cellar').exist? if (HOMEBREW_PREFIX+'Cellar').exist?
HOMEBREW_CELLAR = HOMEBREW_PREFIX+'Cellar' HOMEBREW_CELLAR = HOMEBREW_PREFIX+'Cellar'
else else