Fix brew link --dry-run

The last make_relative_symlink was missing the mode argument, which
caused spurious linking under certain circumstances.
This commit is contained in:
Misty De Meo 2012-07-11 22:32:00 -05:00
parent 1b37ed4269
commit 14c8c7c9ce

View File

@ -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