diff options
| author | Florian Fischer <florian.fl.fischer@fau.de> | 2016-05-02 17:03:56 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fl.fischer@fau.de> | 2016-05-02 17:03:56 +0200 |
| commit | a85b2707c6d1b6ecd58b65b9c4445962cf5969d6 (patch) | |
| tree | bb49847d39f0328196a56e4e528ea55b335f2e6a /setup.py | |
| parent | 3b4c9a9fa744cce02f17eebe1335610c955cc569 (diff) | |
| download | dotfiles-a85b2707c6d1b6ecd58b65b9c4445962cf5969d6.tar.gz dotfiles-a85b2707c6d1b6ecd58b65b9c4445962cf5969d6.zip | |
fix link source
Diffstat (limited to 'setup.py')
| -rw-r--r-- | setup.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -4,6 +4,7 @@ import os import sys home_dir = os.getenv("HOME") +cwd = os.getcwd() def fish_config(quiet): """install and run fisherman""" @@ -63,7 +64,7 @@ def install_target(target, quiet): print("Installing", instruction[0], "to", instruction[1]) if os.path.exists(instruction[0]): try: - os.symlink(instruction[0], instruction[1]) + os.symlink(cwd + "/" + instruction[0], instruction[1]) except FileExistsError as e: print(e, file=sys.stderr) else: |
