Skip to content

Commit e5f8337

Browse files
authored
Update cloudupload.script
1 parent c54499f commit e5f8337

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/cloudupload.script

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ find "${local_decrypt_dir}" -type f -print0 | xargs -0 stat --format '%Y :%y %n'
4949
done
5050

5151
# Copy file to remote destination[s], retaining path
52-
rclone copy $rclone_options "$@" "$n" "$(printenv RCLONE_CLOUD_ENDPOINT)${destpath}" >/dev/null 2>&1
52+
rclone copy $rclone_options "$@" "$n" "${rclone_cloud_endpoint}${destpath}" >/dev/null 2>&1
5353

5454
fileSize=$(du -sb "$n" | awk '{print $1}')
5555
addedSize=$((addedSize + fileSize))

0 commit comments

Comments
 (0)