Fix symlinking

This commit is contained in:
Starbeamrainbowlabs 2019-08-06 00:49:46 +01:00
parent 20729c8676
commit 90bd7b5ae3
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -104,11 +104,11 @@ task_setup() {
# $1 - the .deb file to symlink
_symlink_deb() {
source="$1";
destination="${dir_repo}/$(basename "${source}")";
destination="$(basename "${source}")";
if [ -f "${dir_repo}/$(basename "$1")" ]; then return; fi
if [ -f "${destination}" ]; then return; fi
ln -s "../${dir_sources}/$(basename "${source}")" "${destination}";
ln -s "${source}" "${destination}";
}
task_update() {