Use real paths of symlinks when linking castle into home
This commit is contained in:
@@ -42,7 +42,7 @@ module Homesick
|
|||||||
end
|
end
|
||||||
|
|
||||||
def ln_s(source, destination)
|
def ln_s(source, destination)
|
||||||
source = Pathname.new(source)
|
source = Pathname.new(source).realpath
|
||||||
destination = Pathname.new(destination)
|
destination = Pathname.new(destination)
|
||||||
FileUtils.mkdir_p destination.dirname
|
FileUtils.mkdir_p destination.dirname
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user