Skip to content

Commit

Permalink
Add relative link to the csv
Browse files Browse the repository at this point in the history
  • Loading branch information
juanluisrp committed Dec 15, 2023
1 parent ea1269a commit 7cc3cdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eea/webdav_public_links/webdav_copy_public_links.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ copy_and_create_links() {
target_dir_rel_path="$(realpath --relative-to="$(dirname "${target_directory}")" "${target_path}/${link_name}")"

if [[ ! -e "${target_path}/${link_name}" ]]; then
echo "${target_directory};${target_path}" >> "${logfile}"
echo "${target_directory};${target_path};${target_dir_rel_path}" >> "${logfile}"
echo "Moving ${target_directory} to ${target_path}"
mv "${target_directory}" "${target_path}"
echo "Creating link ${target_directory} -> ${target_dir_rel_path}"
Expand Down

0 comments on commit 7cc3cdb

Please sign in to comment.