mirror of
1
0
Fork 0

Fix,Normalization should come after expand vars

env variable may harcoded the seperator
This commit is contained in:
SuJiKiNen 2019-03-05 21:40:51 +08:00
parent 0ecf45d34b
commit f38b03a40b
1 changed files with 1 additions and 1 deletions

View File

@ -24,9 +24,9 @@ class Link(dotbot.Plugin):
success = True
defaults = self._context.defaults().get('link', {})
for destination, source in links.items():
destination = os.path.expandvars(destination)
destination = os.path.normpath(destination)
source = os.path.normpath(source)
destination = os.path.expandvars(destination)
relative = defaults.get('relative', False)
force = defaults.get('force', False)
relink = defaults.get('relink', False)