aboutsummaryrefslogtreecommitdiffstats
path: root/confman.py
diff options
context:
space:
mode:
Diffstat (limited to 'confman.py')
-rw-r--r--confman.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/confman.py b/confman.py
index 4ae7517..4faf587 100644
--- a/confman.py
+++ b/confman.py
@@ -74,7 +74,7 @@ class SymlinkConfigAction(ConfigAction):
else:
self._makedirs()
- relsource = os.path.relpath(source, self.config.dest)
+ relsource = os.path.normpath(os.path.relpath(source, os.path.join(self.config.dest, self.relpath)))
os.symlink(relsource, dest)
print "Created new link: "+dest+" => "+source