diff options
author | Laurent Bachelier <laurent@bachelier.name> | 2010-01-06 14:42:44 +0100 |
---|---|---|
committer | Laurent Bachelier <laurent@bachelier.name> | 2010-01-06 14:42:44 +0100 |
commit | b83b4aaa1f16d289a15b427908d17dd68572e97a (patch) | |
tree | ca5356eb8585e78a0c905b96daf400db51729b81 | |
parent | More explicit exceptions (diff) | |
download | confman-b83b4aaa1f16d289a15b427908d17dd68572e97a.tar.xz |
Fixed symlinks relative path on subdirectories
-rw-r--r-- | confman.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |