diff --git a/lib/homesick/actions/file_actions.rb b/lib/homesick/actions/file_actions.rb index 255010a..a486b2c 100644 --- a/lib/homesick/actions/file_actions.rb +++ b/lib/homesick/actions/file_actions.rb @@ -42,7 +42,7 @@ module Homesick end def ln_s(source, destination) - source = Pathname.new(source) + source = Pathname.new(source).realpath destination = Pathname.new(destination) FileUtils.mkdir_p destination.dirname