Normalize path
This avoding mixed slashes in Linking status log
This commit is contained in:
parent
e41afad03c
commit
0ecf45d34b
|
@ -24,6 +24,8 @@ class Link(dotbot.Plugin):
|
|||
success = True
|
||||
defaults = self._context.defaults().get('link', {})
|
||||
for destination, source in links.items():
|
||||
destination = os.path.normpath(destination)
|
||||
source = os.path.normpath(source)
|
||||
destination = os.path.expandvars(destination)
|
||||
relative = defaults.get('relative', False)
|
||||
force = defaults.get('force', False)
|
||||
|
|
Loading…
Reference in a new issue