aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMisty De Meo2012-07-11 22:32:00 -0500
committerMisty De Meo2012-07-11 22:32:15 -0500
commit14c8c7c9cebb5daa6586887d61241c5f85c6047e (patch)
tree3f6302751c60c36e1359ed827e2b8c8f9724d623 /Library
parent1b37ed42693265f294e583ffe431a898fa3c7fb6 (diff)
downloadbrew-14c8c7c9cebb5daa6586887d61241c5f85c6047e.tar.bz2
Fix brew link --dry-run
The last make_relative_symlink was missing the mode argument, which caused spurious linking under certain circumstances.
Diffstat (limited to 'Library')
-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 1769a5fea..027b9d458 100644
--- a/Library/Homebrew/keg.rb
+++ b/Library/Homebrew/keg.rb
@@ -179,7 +179,7 @@ protected
dst.mkpath unless resolve_any_conflicts(dst)
else
unless resolve_any_conflicts(dst)
- make_relative_symlink dst, src
+ make_relative_symlink dst, src, mode
Find.prune
end
end