Rclone v1.65.0 release

I found this is caused by install.sh: Clean up temp files in install script · jahands/rclone@fb95483 · GitHub but still dont know why and how to fix.

Got it

install.sh first create tmp_dir and enter to it by

tmp_dir=$(mktemp -d 2>/dev/null || mktemp -d -t 'rclone-install.XXXXXXXXXX')
cd "$tmp_dir"

However, bash redirection to a file errors for variable assignment happens after cleanup tmp_dir like below

#cleanup
rm -rf "$tmp_dir"

version=$(rclone --version 2>>errors | head -n 1)
1 Like