Merge pull request #1793 from MikeMcQuaid/keg-resolve-not-real-path
keg: use resolved_path not realpath.
This commit is contained in:
commit
1c710adb44
@ -598,7 +598,7 @@ class Keg
|
|||||||
|
|
||||||
if src.symlink? || src.file?
|
if src.symlink? || src.file?
|
||||||
Find.prune if File.basename(src) == ".DS_Store"
|
Find.prune if File.basename(src) == ".DS_Store"
|
||||||
Find.prune if src.realpath == dst
|
Find.prune if src.resolved_path == dst
|
||||||
# Don't link pyc or pyo files because Python overwrites these
|
# Don't link pyc or pyo files because Python overwrites these
|
||||||
# cached object files and next time brew wants to link, the
|
# cached object files and next time brew wants to link, the
|
||||||
# file is in the way.
|
# file is in the way.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user