pathname: use ln_sf in install_symlink.

Closes Homebrew/homebrew#28136.
This commit is contained in:
Mike McQuaid 2014-04-06 18:12:02 +01:00
parent 7541f13164
commit edef6508bd

View File

@ -83,7 +83,7 @@ class Pathname
src = Pathname(src).expand_path(self) src = Pathname(src).expand_path(self)
dst = join File.basename(new_basename) dst = join File.basename(new_basename)
mkpath mkpath
FileUtils.ln_s src.relative_path_from(dst.parent), dst FileUtils.ln_sf src.relative_path_from(dst.parent), dst
end end
protected :install_symlink_p protected :install_symlink_p