1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-04 16:49:42 +00:00

Merge pull request #74 from roachsinai/master

enable relative path when update dotfiles.
This commit is contained in:
deadc0de
2018-12-12 16:20:25 +01:00
committed by GitHub

View File

@@ -94,6 +94,7 @@ class Updater:
"""normalize the path to match dotfile"""
path = os.path.expanduser(path)
path = os.path.expandvars(path)
path = os.path.abspath(path)
# normalize the path
if path.startswith(self.home):