From fc015623d9e9116a1d030633259bc2253a2d2178 Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Sat, 17 May 2025 15:23:47 +0200 Subject: [PATCH] Fix. --- testing/scripts/sync_rtorrent_download.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/scripts/sync_rtorrent_download.sh b/testing/scripts/sync_rtorrent_download.sh index 66c1f2c..0c7a158 100755 --- a/testing/scripts/sync_rtorrent_download.sh +++ b/testing/scripts/sync_rtorrent_download.sh @@ -136,7 +136,7 @@ printf ' media: %s\n' "${TITLE}" TARGET_DIR="${LOCAL_STORE}/${TITLE}" if [ -z "${SYNC_DOWN}" ]; then prefixed_msg 'Uploading …' - TMP_DIR=$(ssh -t -q "${SERVER}" "TMPDIR=~/tmp mktemp -d") + TMP_DIR=$(ssh -t -q "${SERVER}" "TMPDIR=~/tmp mktemp -d" | tr -d "\r") else prefixed_msg 'Downloading …' abort_if_exists "${TARGET_DIR}" -- 2.30.2