diff options
| author | Steve Losh | 2009-09-30 02:36:21 -0400 |
|---|---|---|
| committer | Max Howell | 2009-09-30 15:07:23 +0100 |
| commit | ef38aba714011d9ab23bb04658b46b1af5418fc3 (patch) | |
| tree | 9d3b35aa77aa8f68f954a3d263e2cd6e97d88b8f /Library/Formula | |
| parent | 45d205c85c5e3990ab8967824d768163ee6fed7d (diff) | |
| download | homebrew-ef38aba714011d9ab23bb04658b46b1af5418fc3.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/Formula')
0 files changed, 0 insertions, 0 deletions
