diff --git a/dotdrop/installer.py b/dotdrop/installer.py index 8b6a71a..080511b 100644 --- a/dotdrop/installer.py +++ b/dotdrop/installer.py @@ -64,7 +64,7 @@ class Installer: if not os.path.exists(src): self.log.err('source dotfile does not exist: {}'.format(src)) return [] - dst = os.path.expanduser(dst).rstrip(os.sep) + dst = os.path.normpath(os.path.expanduser(dst)) if self.totemp: # ignore actions return self.install(templater, src, dst, actions=[])