aboutsummaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2016-05-02 17:03:56 +0200
committerFlorian Fischer <florian.fl.fischer@fau.de>2016-05-02 17:03:56 +0200
commita85b2707c6d1b6ecd58b65b9c4445962cf5969d6 (patch)
treebb49847d39f0328196a56e4e528ea55b335f2e6a /setup.py
parent3b4c9a9fa744cce02f17eebe1335610c955cc569 (diff)
downloaddotfiles-a85b2707c6d1b6ecd58b65b9c4445962cf5969d6.tar.gz
dotfiles-a85b2707c6d1b6ecd58b65b9c4445962cf5969d6.zip
fix link source
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index bfc6196..d31a398 100644
--- a/setup.py
+++ b/setup.py
@@ -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: