mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-09 22:14:17 +00:00
enable relative path when update dotfiles.
This commit is contained in:
@@ -94,6 +94,7 @@ class Updater:
|
|||||||
"""normalize the path to match dotfile"""
|
"""normalize the path to match dotfile"""
|
||||||
path = os.path.expanduser(path)
|
path = os.path.expanduser(path)
|
||||||
path = os.path.expandvars(path)
|
path = os.path.expandvars(path)
|
||||||
|
path = os.path.abspath(path)
|
||||||
|
|
||||||
# normalize the path
|
# normalize the path
|
||||||
if path.startswith(self.home):
|
if path.startswith(self.home):
|
||||||
|
|||||||
Reference in New Issue
Block a user