aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2014-04-06 18:12:02 +0100
committerMike McQuaid2014-04-06 18:12:02 +0100
commit7311cf32486885e53cacb50174fb9bfbe1bbaf65 (patch)
tree22ba3a94a1ea316b29c4268ad4cc4bb0e5ca08a4 /Library
parent73fe1777c83f370a1cb00f0dfb4a1478919db837 (diff)
downloadhomebrew-7311cf32486885e53cacb50174fb9bfbe1bbaf65.tar.bz2
pathname: use ln_sf in install_symlink.
Closes #28136.
Diffstat (limited to 'Library')
-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