From a85b2707c6d1b6ecd58b65b9c4445962cf5969d6 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Mon, 2 May 2016 17:03:56 +0200 Subject: fix link source --- setup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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: -- cgit v1.2.3