diff --git a/dotbot/plugins/link.py b/dotbot/plugins/link.py index 2506237..8c550d5 100644 --- a/dotbot/plugins/link.py +++ b/dotbot/plugins/link.py @@ -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)