aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/extend/pathname.rb
diff options
context:
space:
mode:
authorMike McQuaid2014-04-06 18:12:02 +0100
committerMike McQuaid2014-04-06 18:12:02 +0100
commitedef6508bd9f8fcac7e461a8081892549c151e36 (patch)
tree96bb2f4ececcab6e10e2f5e5471ee63e7b20b542 /Library/Homebrew/extend/pathname.rb
parent7541f1316422d89b96af763a4c9cce68aff1f4cd (diff)
downloadbrew-edef6508bd9f8fcac7e461a8081892549c151e36.tar.bz2
pathname: use ln_sf in install_symlink.
Closes Homebrew/homebrew#28136.
Diffstat (limited to 'Library/Homebrew/extend/pathname.rb')
-rw-r--r--Library/Homebrew/extend/pathname.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/extend/pathname.rb b/Library/Homebrew/extend/pathname.rb
index b8868adfe..40f182614 100644
--- a/Library/Homebrew/extend/pathname.rb
+++ b/Library/Homebrew/extend/pathname.rb
@@ -83,7 +83,7 @@ class Pathname
src = Pathname(src).expand_path(self)
dst = join File.basename(new_basename)
mkpath
- FileUtils.ln_s src.relative_path_from(dst.parent), dst
+ FileUtils.ln_sf src.relative_path_from(dst.parent), dst
end
protected :install_symlink_p