diff options
author | Jon Bernard <jbernard@tuxion.com> | 2016-01-06 17:23:20 -0500 |
---|---|---|
committer | Jon Bernard <jbernard@tuxion.com> | 2016-01-06 17:25:29 -0500 |
commit | 55f4493aae9ba20e2a47c3dabad499a66cef4912 (patch) | |
tree | 7357954f9136933adf138e443b6cbd874dc0594d | |
parent | 882a2bcaf8902c5dad40b302fedb1a4d17b86019 (diff) | |
download | dotfiles-55f4493aae9ba20e2a47c3dabad499a66cef4912.tar.gz dotfiles-55f4493aae9ba20e2a47c3dabad499a66cef4912.tar.bz2 dotfiles-55f4493aae9ba20e2a47c3dabad499a66cef4912.zip |
Try to create relative symlinks when linking
-rw-r--r-- | dotfiles.py | 2 |
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): |