Browse Source

Update 'assets/out'

Added logging of link destination
master
Drew Short 4 years ago
parent
commit
6870a00e99
  1. 5
      assets/out

5
assets/out

@ -34,6 +34,11 @@ rclone_destinations=$(jq -r '.params.destination[]? | .dir // ""' < "$payload")
rclone_link_destination=$(jq -r '.params.linkDestination // ""' < "$payload")
rclone_link_destination_subdir_file=$(jq -r '.params.linkDestinationSubDir // ""' < "$payload")
echo "Source directory: ${rclone_source_directory}"
echo "Link destination: ${rclone_link_destination}"
echo "Link destination subdir file: ${rclone_link_destination_subdir_file}"
if [[ -z "$rclone_source_directory" ]]; then
echo "invalid source directory (missing source)"
exit 1

Loading…
Cancel
Save