diff options
| author | Jack Nagel | 2012-03-11 10:18:12 -0500 |
|---|---|---|
| committer | Jack Nagel | 2012-03-11 10:18:12 -0500 |
| commit | 5b1957f13ac745103f99441424a751d714f7cfdf (patch) | |
| tree | e81fb1baa6699c488fbb712e7deff9dd14e0c36e /Library/Homebrew/test | |
| parent | 27288547aaaaba14e2daa6de91b307b381b69742 (diff) | |
| download | brew-5b1957f13ac745103f99441424a751d714f7cfdf.tar.bz2 | |
keg: don't skip linking based on relative pathname
ed1a674c ("keg: allow selective linking at the file level") had a
regression which caused the link step to skip files with the same name
as a directory in the user's CWD.
Keg#link_dir yields a relative pathname, so assumptions cannot be made
about the nature of that pathname in the block.
Instead, introduce ":skip_dir" and ":skip_file" to replace the existing
":skip" directive. This way, we won't skip things marked ":skip_dir"
when linking a file, and vice-versa.
Fixes Homebrew/homebrew#10860.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Homebrew/test')
0 files changed, 0 insertions, 0 deletions
