diff options
| author | Adam Vandenberg | 2009-11-12 11:09:20 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2009-11-12 12:47:17 -0800 |
| commit | bc378d091b6eb6a55b0230d7c007896bf76bbd4d (patch) | |
| tree | a428262fd198c46ff5ca125a0b3c2e3d5a3921b6 /Library/Homebrew/test | |
| parent | 55f7b826d910bb5cc937714d214b100eb30073dd (diff) | |
| download | brew-bc378d091b6eb6a55b0230d7c007896bf76bbd4d.tar.bz2 | |
Compare against HOMEBREW_CELLAR using real paths.
The code in Keg.self.for path uses "path = path.parent.realpath" to walk
up subfolders looking for a Keg.
Because 'realpath' is in there, and the path is checked against
HOMEBREW_CELLAR, which may be a symlink, we need to do realpath-to-realpath
comparisons in Keg. Otherwise, we will hit equivalent but symlinked folders,
not see that they are the same, and walk all the way up to / and then
error out.
Diffstat (limited to 'Library/Homebrew/test')
0 files changed, 0 insertions, 0 deletions
