aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/install.rb
diff options
context:
space:
mode:
authorSteve Losh2009-09-30 02:36:21 -0400
committerMax Howell2009-09-30 15:07:23 +0100
commit287cc0dc0273c3bddf034f03d893eee0b8cc81a5 (patch)
treef404bbb5535999fd70001ced9cbeea4e9ea7c911 /Library/Homebrew/install.rb
parent55025865eb2f47f00ae701a48289ede7b67cc864 (diff)
downloadbrew-287cc0dc0273c3bddf034f03d893eee0b8cc81a5.tar.bz2
Determine the repo path in a symlink-friendly way.
The Contributions/selflink.sh script does not symlink the .git directory, so 'brew update' will fail because the prefix (/usr/local/) is not a git repository. To determine the actual location of the git repo we can get the realpath of the Library (to expand any symlinks) and take the parent of that.
Diffstat (limited to 'Library/Homebrew/install.rb')
0 files changed, 0 insertions, 0 deletions