From 9cd59f05f888234e6bee9efad2f09c83978716c0 Mon Sep 17 00:00:00 2001 From: Sebastian Schuberth Date: Thu, 25 Jun 2015 15:35:50 +0200 Subject: [PATCH] Ensure symbolic links have absolute targets Fixes #21. --- setup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.sh b/setup.sh index 7d81fd5..b589cf2 100755 --- a/setup.sh +++ b/setup.sh @@ -87,9 +87,9 @@ make_uninstall () { make_link () { make_uninstall - ln -s "$BIN" "$PREFIX/bin/$BIN" + ln -s "$PWD/$BIN" "$PREFIX/bin/$BIN" for cmd in $CMDS; do - ln -s "$BIN-$cmd" "$PREFIX/bin" + ln -s "$PWD/$BIN-$cmd" "$PREFIX/bin" done return $? }