Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/Homebrew/brew.git. Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer or owner.
Last successful update .
  1. Dec 06, 2009
  2. Dec 05, 2009
  3. Dec 04, 2009
  4. Dec 02, 2009
  5. Dec 01, 2009
  6. Nov 20, 2009
  7. Nov 19, 2009
  8. Nov 13, 2009
    • Adam Vandenberg's avatar
      Compare against HOMEBREW_CELLAR using real paths. · bc378d09
      Adam Vandenberg authored
      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.
      bc378d09
Loading