aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorilovezfs2017-01-06 10:27:58 -0800
committerGitHub2017-01-06 10:27:58 -0800
commit1c710adb44cfaa53c3f2b051dcd68c406709dd85 (patch)
treefffd97a3af3c818f395cf975e0bf69b839a6f984 /Library/Homebrew
parent1a394aa7e5b7bf4f6281826248345be0308b30a4 (diff)
parent44971905937ddf3e7815f069694eb7d87a217f63 (diff)
downloadbrew-1c710adb44cfaa53c3f2b051dcd68c406709dd85.tar.bz2
Merge pull request #1793 from MikeMcQuaid/keg-resolve-not-real-path
keg: use resolved_path not realpath.
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/keg.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/keg.rb b/Library/Homebrew/keg.rb
index 59fed9ec3..4312c9454 100644
--- a/Library/Homebrew/keg.rb
+++ b/Library/Homebrew/keg.rb
@@ -598,7 +598,7 @@ class Keg
if src.symlink? || src.file?
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
# cached object files and next time brew wants to link, the
# file is in the way.