diff --git a/dotdrop/installer.py b/dotdrop/installer.py index 285e0ab..8b6a71a 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('/') + dst = os.path.expanduser(dst).rstrip(os.sep) if self.totemp: # ignore actions return self.install(templater, src, dst, actions=[])