diff options
| -rw-r--r-- | Library/Homebrew/extend/pathname.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Homebrew/extend/pathname.rb b/Library/Homebrew/extend/pathname.rb index e94748431..92b51f225 100644 --- a/Library/Homebrew/extend/pathname.rb +++ b/Library/Homebrew/extend/pathname.rb @@ -80,9 +80,10 @@ class Pathname end def install_symlink_p src, new_basename=src + src = Pathname(src).expand_path(self) dst = join File.basename(new_basename) mkpath - FileUtils.ln_s Pathname(src).relative_path_from(dst.parent), dst + FileUtils.ln_s src.relative_path_from(dst.parent), dst end protected :install_symlink_p |
