kiss-link: Fix bug. Closes #180

This commit is contained in:
Dylan Araps 2020-09-03 10:17:29 +03:00
parent cf722ec4ba
commit 0f054313e3
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E

View File

@ -40,7 +40,7 @@ kiss s "${PWD##*/}" >/dev/null
# Finally, make the link to the file in whatever repository
# it was found in.
ln -sf "$1/$file" "$file"
ln -sf "$1/$file" "$oPWD/$file"
}
printf 'linked %s to %s\n' "$file" "$1"