aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
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 54435aa37..d44f59968 100644
--- a/Library/Homebrew/extend/pathname.rb
+++ b/Library/Homebrew/extend/pathname.rb
@@ -230,7 +230,7 @@ class Pathname
Dir.chdir self.dirname do
# TODO use Ruby function so we get exceptions
# NOTE Ruby functions may work, but I had a lot of problems
- rv = system 'ln', '-sf', src.relative_path_from(self.dirname)
+ rv = system 'ln', '-sf', src.relative_path_from(self.dirname), self.basename
unless rv and $? == 0
raise <<-EOS.undent
Could not create symlink #{to_s}.