Repair bug from original version of code: - SamuelWN/Scripts GitHub Wiki

Repair links created by version 0.1 of this script:

while read f; do
    target="$(readlink "$f")"
    relative_path="$(realpath --relative-to="$(dirname "$f")" "$target")"
    echo -e "DEBUG:\nln -s '$relative_path' '$f'"
    rm "$f"
    ln -s "$relative_path" "$f"
done < <(find . -type l -! -exec test -e {} \; -printf $'%p\n')