Fix,Normalization should come after expand vars
env variable may harcoded the seperator
This commit is contained in:
parent
0ecf45d34b
commit
f38b03a40b
|
@ -24,9 +24,9 @@ class Link(dotbot.Plugin):
|
||||||
success = True
|
success = True
|
||||||
defaults = self._context.defaults().get('link', {})
|
defaults = self._context.defaults().get('link', {})
|
||||||
for destination, source in links.items():
|
for destination, source in links.items():
|
||||||
|
destination = os.path.expandvars(destination)
|
||||||
destination = os.path.normpath(destination)
|
destination = os.path.normpath(destination)
|
||||||
source = os.path.normpath(source)
|
source = os.path.normpath(source)
|
||||||
destination = os.path.expandvars(destination)
|
|
||||||
relative = defaults.get('relative', False)
|
relative = defaults.get('relative', False)
|
||||||
force = defaults.get('force', False)
|
force = defaults.get('force', False)
|
||||||
relink = defaults.get('relink', False)
|
relink = defaults.get('relink', False)
|
||||||
|
|
Loading…
Reference in a new issue