aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Jon Bernard <jbernard@tuxion.com> 2016-01-06 17:23:20 -0500
committerGravatar Jon Bernard <jbernard@tuxion.com> 2016-01-06 17:25:29 -0500
commit55f4493aae9ba20e2a47c3dabad499a66cef4912 (patch)
tree7357954f9136933adf138e443b6cbd874dc0594d
parent882a2bcaf8902c5dad40b302fedb1a4d17b86019 (diff)
downloaddotfiles-55f4493aae9ba20e2a47c3dabad499a66cef4912.tar.gz
dotfiles-55f4493aae9ba20e2a47c3dabad499a66cef4912.tar.bz2
dotfiles-55f4493aae9ba20e2a47c3dabad499a66cef4912.zip
Try to create relative symlinks when linking
-rw-r--r--dotfiles.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/dotfiles.py b/dotfiles.py
index f868d5b..cf70da0 100644
--- a/dotfiles.py
+++ b/dotfiles.py
@@ -138,7 +138,7 @@ class Dotfile(object):
if verbose:
click.echo('LINK %s -> %s' % (self.name, self.target))
- self.name.mksymlinkto(self.target)
+ self.name.mksymlinkto(self.target, absolute=0)
def unlink(self, verbose=False):
if self.name.check(link=0):