1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-04 20:54:51 +00:00

fix normpath for #76

This commit is contained in:
deadc0de6
2018-12-29 23:32:44 +01:00
parent 86aa261d05
commit 7f6ab70b3b

View File

@@ -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=[])